3 # this runs the file serving tests that are expected to pass with samba3
7 Usage: test_smbtorture_s3.sh UNC USERNAME PASSWORD <first> <smbtorture args>
20 .
$incdir/test_functions.sh
22 tests
="FDPASS LOCK1 LOCK2 LOCK3 LOCK4 LOCK5 LOCK6 LOCK7"
23 tests
="$tests UNLINK BROWSE ATTR TRANS2 MAXFID TORTURE "
24 tests
="$tests OPLOCK1 OPLOCK2 OPLOCK3"
25 tests
="$tests DIR DIR1 TCON TCONDEV RW1 RW2 RW3"
26 tests
="$tests OPEN XCOPY RENAME DELETE PROPERTIES W2K"
27 tests
="$tests PIPE_NUMBER TCON2 IOCTL CHKPATH FDSESS"
29 skipped1
="RANDOMIPC NEGNOWAIT NBENCH ERRMAPEXTRACT TRANS2SCAN NTTRANSSCAN"
30 skipped2
="DENY1 DENY2 OPENATTR CASETABLE EATEST"
31 skipped3
="MANGLE UTABLE"
32 echo "Skipping the following tests:"
39 if [ ! -z "$start" -a "$start" != $t ]; then
44 testit
"$name" $VALGRIND $SRCDIR/bin
/smbtorture
$ADDARGS $unc -U"$username"%"$password" $t || failed
=`expr $failed + 1`