diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-04-15 16:58:50 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-04-16 11:43:05 +0200 |
commit | d9e29c0250a052474936540e3768de2dcdaaeac9 (patch) | |
tree | 44a56224e59caae9ea3d9d9d7966210ba8652169 | |
parent | 47b7c6fccf944ae2ae4bdbfa983adfa1d12204df (diff) | |
download | samba-d9e29c0250a052474936540e3768de2dcdaaeac9.tar.gz samba-d9e29c0250a052474936540e3768de2dcdaaeac9.tar.bz2 samba-d9e29c0250a052474936540e3768de2dcdaaeac9.zip |
selftest Remove selftest of the test subsystem
The intereactions between selftest.pl and the target are now too
complex to unit test like this any more.
Andrew Bartlett
-rwxr-xr-x | selftest/test_samba4.pl | 21 | ||||
-rwxr-xr-x | source4/selftest/tests.py | 1 |
2 files changed, 0 insertions, 22 deletions
diff --git a/selftest/test_samba4.pl b/selftest/test_samba4.pl deleted file mode 100755 index 5bf3913855..0000000000 --- a/selftest/test_samba4.pl +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/perl - -use Test::More tests => 3; -use FindBin qw($RealBin); -use lib $RealBin; -use lib "$RealBin/target"; -use Samba4; - -my $s = new Samba4("bin", undef, undef, undef, $RealBin."/../setup"); - -ok($s); - -is("bin", $s->{bindir}); - -ok($s->write_ldb_file("tmpldb", " -dn: a=b -a: b -c: d -")); - -unlink("tmpldb"); diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py index dfbbc5752f..6d4d18f7c6 100755 --- a/source4/selftest/tests.py +++ b/source4/selftest/tests.py @@ -251,7 +251,6 @@ plansmbtorturetestsuite("drs.unit", "none", "ncalrpc:") for f in sorted(os.listdir(os.path.join(samba4srcdir, "../pidl/tests"))): if f.endswith(".pl"): planperltestsuite("pidl.%s" % f[:-3], os.path.normpath(os.path.join(samba4srcdir, "../pidl/tests", f))) -planperltestsuite("selftest.samba4", os.path.normpath(os.path.join(samba4srcdir, "../selftest/test_samba4.pl"))) # Blackbox Tests: # tests that interact directly with the command-line tools rather than using |