s3-selftest Fix use of the 'fake DNS' file
[idra/samba.git] / selftest / selftest.pl
index 4f1f1d422cc7cdf077fca5198583374bf8fc4deb..fbb36a2d58d8553f5fdf42e3ee2e3aef965282ad 100755 (executable)
@@ -421,6 +421,7 @@ $ENV{SRCDIR} = $srcdir;
 $ENV{SRCDIR_ABS} = $srcdir_abs;
 $ENV{BUILDDIR} = $builddir;
 $ENV{BUILDDIR_ABS} = $builddir_abs;
+$ENV{BINDIR} = $bindir_abs;
 $ENV{EXEEXT} = $exeext;
 
 my $tls_enabled = not $opt_quick;
@@ -471,7 +472,7 @@ if ($opt_target eq "samba4") {
        }
        $testenv_default = "member";
        require target::Samba3;
-       $target = new Samba3($bindir);
+       $target = new Samba3($bindir, $srcdir_abs);
 } elsif ($opt_target eq "win") {
        die("Windows tests will not run with socket wrapper enabled.") 
                if ($opt_socket_wrapper);
@@ -595,7 +596,7 @@ sub write_clientconf($$$)
        private dir = $clientdir/private
        lock dir = $clientdir/lockdir
        ncalrpc dir = $clientdir/ncalrpcdir
-       name resolve order = bcast file
+       name resolve order = file bcast
        panic action = $RealBin/gdb_backtrace \%PID\% \%PROG\%
        max xmit = 32K
        notify:inotify = false