summaryrefslogtreecommitdiff
path: root/source4/selftest/test_samba4.pl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-18 19:51:03 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-18 19:51:03 +0200
commit182a0e349082fd43ec410cd6ac512376748fa27d (patch)
tree77780338f77b52287ca635d7aaacc46f846522a0 /source4/selftest/test_samba4.pl
parentcb16488cb1bc29657a024a74c21b33445cde87b0 (diff)
downloadsamba-182a0e349082fd43ec410cd6ac512376748fa27d.tar.gz
samba-182a0e349082fd43ec410cd6ac512376748fa27d.tar.bz2
samba-182a0e349082fd43ec410cd6ac512376748fa27d.zip
Move selftest code to top-level.
Diffstat (limited to 'source4/selftest/test_samba4.pl')
-rwxr-xr-xsource4/selftest/test_samba4.pl20
1 files changed, 0 insertions, 20 deletions
diff --git a/source4/selftest/test_samba4.pl b/source4/selftest/test_samba4.pl
deleted file mode 100755
index f2935be66b..0000000000
--- a/source4/selftest/test_samba4.pl
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/perl
-
-use Test::More tests => 3;
-use FindBin qw($RealBin);
-use lib $RealBin;
-use Samba4;
-
-my $s = new Samba4($RealBin."/../bin", undef, $RealBin."/../setup");
-
-ok($s);
-
-is($RealBin."/../bin", $s->{bindir});
-
-ok($s->write_ldb_file("tmpldb", "
-dn: a=b
-a: b
-c: d
-"));
-
-unlink("tmpldb");