s4-test: fixed test_samba4.pl for top level build
authorAndrew Tridgell <tridge@samba.org>
Thu, 3 Feb 2011 06:35:13 +0000 (17:35 +1100)
committerAndrew Tridgell <tridge@samba.org>
Mon, 7 Feb 2011 02:22:00 +0000 (13:22 +1100)
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

selftest/test_samba4.pl

index 59763afdaa92273157a8257e4540901dc9ec3956..416bf1d1db93dab9a1431629ab569965c1204165 100755 (executable)
@@ -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