summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-06-03 16:09:16 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-06-03 16:26:30 +0200
commit4828f75fedd62559c6907bf5f4ace3f1118e6efb (patch)
treeaf8fd309cc3e91cbc1ce300a33894ca63f1469ff /selftest
parent4bbef3bcd8e0e7b5c2ffef05fe2f43c06c74e3b5 (diff)
downloadsamba-4828f75fedd62559c6907bf5f4ace3f1118e6efb.tar.gz
samba-4828f75fedd62559c6907bf5f4ace3f1118e6efb.tar.bz2
samba-4828f75fedd62559c6907bf5f4ace3f1118e6efb.zip
selftest: Fix target/Samba4 tests.
Diffstat (limited to 'selftest')
-rwxr-xr-xselftest/test_samba4.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/selftest/test_samba4.pl b/selftest/test_samba4.pl
index f2935be66b..59763afdaa 100755
--- a/selftest/test_samba4.pl
+++ b/selftest/test_samba4.pl
@@ -3,13 +3,14 @@
use Test::More tests => 3;
use FindBin qw($RealBin);
use lib $RealBin;
+use lib "$RealBin/target";
use Samba4;
-my $s = new Samba4($RealBin."/../bin", undef, $RealBin."/../setup");
+my $s = new Samba4($RealBin."/../source4/bin", undef, $RealBin."/../setup");
ok($s);
-is($RealBin."/../bin", $s->{bindir});
+is($RealBin."/../source4/bin", $s->{bindir});
ok($s->write_ldb_file("tmpldb", "
dn: a=b