• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/testsuite/build_farm/
1. basicsmb.fns
2
3test_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}
20