r1781: don't crash when xp sp2 sends a fnpcn() without prior ffpcn()
[Samba.git] / testsuite / build_farm / torture_setup.fns
blobbf5146148ea4de9b80b8e6ca26732aafa2a41cb7
1 . basicsmb.fns
3 test_torture() {
4         torture_test=$1
5         password=samba
6         security=USER
7         (test_smb_conf_setup && test_smbpasswd $password ) || return 1
9         echo $srcdir/bin/smbtorture //localhost/test -U$whoami%$password $torture_test
10         $srcdir/bin/smbtorture //localhost/test -U$whoami%$password $torture_test
11         status=$?
12         if [ $status = 0 ]; then
13                 echo "smbtorture test $torture_test worked"
14         else
15                 echo "smbtorture test $torture_test FAILED!"
16                 return 1
17         fi
18         return 0