1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/testsuite/build_farm/torture_setup.fns
Andrew Bartlett 06403c439f Add some more info to the diags output.
(This used to be commit 2ee7254fde)
2003-04-23 10:19:56 +00:00

20 lines
481 B
Plaintext

. basicsmb.fns
test_torture() {
torture_test=$1
password=samba
security=USER
(test_smb_conf_setup && test_smbpasswd $password ) || return 1
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 (status $status)!"
return 1
fi
return 0
}