3 # this runs the file serving tests that are expected to pass with the
4 # current posix ntvfs backend
8 Usage: test_posix.sh UNC USERNAME PASSWORD <first> <smbtorture args>
21 . $incdir/test_functions.sh
23 smb2=`bin/smbtorture --list | grep "^SMB2-" | xargs`
24 raw=`bin/smbtorture --list | grep "^RAW-" | xargs`
25 base=`bin/smbtorture --list | grep "^BASE-" | xargs`
26 tests="$base $raw $smb2"
29 # please add tests you want to be skipped here!
31 skipped="BASE-CHARSET BASE-DEFER_OPEN BASE-DELAYWRITE RAW-COMPOSITE RAW-OPLOCK RAW-ACLS BASE-IOMETER"
32 skipped="$skipped BASE-SAMBA3ERROR BASE-CASETABLE BASE-NTTRANS BASE-BENCH-HOLDCON BASE-SCAN-MAXFID"
33 skipped="$skipped RAW-BENCH-OPLOCK RAW-SAMBA3HIDE RAW-SAMBA3CLOSEERR RAW-SAMBA3CHECKFSP RAW-SAMBA3BADPATH"
34 skipped="$skipped RAW-SCAN-EAMAX SMB2-LOCK SMB2-NOTIFY"
36 echo "WARNING: Skipping tests $skipped"
40 if [ ! -z "$start" -a "$start" != $t ]; then
45 if [ x"$s" = x"$t" ]; then
50 if [ $skip = 1 ]; then
55 testit "$name" $VALGRIND bin/smbtorture $TORTURE_OPTIONS $ADDARGS $unc -U"$username"%"$password" $t