Initial import
[samba] / testsuite / build_farm / torture_setup.fns
1 . basicsmb.fns
2
3 test_torture() {
4         torture_test=$1
5         password=samba
6         security=USER
7         (test_smb_conf_setup && test_smbpasswd $password ) || return 1
8
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
19 }