summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
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