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>
19 test x
"$TEST_FUNCTIONS_SH" != x
"INCLUDED" && {
21 .
$incdir/test_functions.sh
24 SMB_CONF_PATH
="$CONFFILE"
27 tests
="FDPASS LOCK1 LOCK2 LOCK3 LOCK4 LOCK5 LOCK6 LOCK7 LOCK9"
28 #tests="$tests UNLINK BROWSE ATTR TRANS2 MAXFID TORTURE "
29 tests
="$tests UNLINK BROWSE ATTR TRANS2 TORTURE "
30 tests
="$tests OPLOCK1 OPLOCK2 OPLOCK3 STREAMERROR"
31 tests
="$tests DIR DIR1 DIR-CREATETIME TCON TCONDEV RW1 RW2 RW3"
32 tests
="$tests OPEN XCOPY RENAME DELETE PROPERTIES W2K"
33 tests
="$tests TCON2 IOCTL CHKPATH FDSESS LOCAL-SUBSTITUTE CHAIN1"
34 tests
="$tests GETADDRINFO POSIX UID-REGRESSION-TEST SHORTNAME-TEST"
35 tests
="$tests LOCAL-BASE64 LOCAL-GENCACHE POSIX-APPEND"
36 tests
="$tests LOCAL-string_to_sid"
38 skipped1
="RANDOMIPC NEGNOWAIT NBENCH ERRMAPEXTRACT TRANS2SCAN NTTRANSSCAN"
39 skipped2
="DENY1 DENY2 OPENATTR CASETABLE EATEST"
40 skipped3
="MANGLE UTABLE PIPE_NUMBER"
41 echo "Skipping the following tests:"
46 if test "x$SMBTORTURE_S3_SUBTESTS" != "x" ; then
47 tests
="$SMBTORTURE_S3_SUBTESTS"
52 if [ ! -z "$start" -a "$start" != $t ]; then
57 testit
"$name" $VALGRIND $BINDIR/smbtorture
$unc -U"$username"%"$password" -l"$PREFIX_ABS"/tmp
$ADDARGS $t || failed
=`expr $failed + 1`