summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-02-03 17:35:13 +1100
committerAndrew Tridgell <tridge@samba.org>2011-02-07 13:22:00 +1100
commit3bcb693e27559d8b4f15be05ef2e921f1bf8cdb2 (patch)
treeecb4b946130d6df9ded8ab910b5d367cf161fb58
parent479a4235e370325167d1085c11698f768f6b51fc (diff)
downloadsamba-3bcb693e27559d8b4f15be05ef2e921f1bf8cdb2.tar.gz
samba-3bcb693e27559d8b4f15be05ef2e921f1bf8cdb2.tar.bz2
samba-3bcb693e27559d8b4f15be05ef2e921f1bf8cdb2.zip
s4-test: fixed test_samba4.pl for top level build
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
-rwxr-xr-xselftest/test_samba4.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/selftest/test_samba4.pl b/selftest/test_samba4.pl
index 59763afdaa..416bf1d1db 100755
--- a/selftest/test_samba4.pl
+++ b/selftest/test_samba4.pl
@@ -6,11 +6,11 @@ use lib $RealBin;
use lib "$RealBin/target";
use Samba4;
-my $s = new Samba4($RealBin."/../source4/bin", undef, $RealBin."/../setup");
+my $s = new Samba4("bin", undef, $RealBin."/../setup");
ok($s);
-is($RealBin."/../source4/bin", $s->{bindir});
+is("bin", $s->{bindir});
ok($s->write_ldb_file("tmpldb", "
dn: a=b