trying to get HEAD building again. If you want the code
[Samba/gbeck.git] / testsuite / build_farm / torture_setup.fns
bloba42be94129b726facdda40b795f988b44060fa1b
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 (status $status)!"
16                 return 1
17         fi
18         return 0