mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
8b7434b2a0
This should get us 'green' for once...
Andrew Bartlett
(This used to be commit 042b9e3a63
)
20 lines
464 B
Plaintext
20 lines
464 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!"
|
|
return 1
|
|
fi
|
|
return 0
|
|
}
|