Add some more info to the diags output.
[samba.git] / testsuite / build_farm / torture_setup.fns
index 3d9abbcd79b3322ec5fb192bec6e50e8ac1079b6..a42be94129b726facdda40b795f988b44060fa1b 100644 (file)
@@ -6,13 +6,13 @@ test_torture() {
        security=USER
        (test_smb_conf_setup && test_smbpasswd $password ) || return 1
 
-       echo $pwd/$tree/source/bin/smbtorture //localhost/test -U$whoami%$password $torture_test
-       $pwd/$tree/source/bin/smbtorture //localhost/test -U$whoami%$password $torture_test
+       echo $srcdir/bin/smbtorture //localhost/test -U$whoami%$password $torture_test
+       $srcdir/bin/smbtorture //localhost/test -U$whoami%$password $torture_test
        status=$?
        if [ $status = 0 ]; then
                echo "smbtorture test $torture_test worked"
        else
-               echo "smbtorture test $torture_test FAILED!"
+               echo "smbtorture test $torture_test FAILED (status $status)!"
                return 1
        fi
        return 0