21c0fca4457e4ea36546b326e24c24fcb6590e26
[samba.git] / source / script / tests / test_smbtorture_s3.sh
1 #!/bin/sh
2
3 # this runs the file serving tests that are expected to pass with samba3
4
5 ADDARGS="$*"
6
7 incdir=`dirname $0`
8 . $incdir/test_functions.sh
9
10 BINDIR=$incdir/../../bin
11
12 tests="FDPASS LOCK1 LOCK2 LOCK3 LOCK4 LOCK5 LOCK6 LOCK7"
13 tests="$tests UNLINK BROWSE ATTR TRANS2 MAXFID TORTURE "
14 tests="$tests OPLOCK1 OPLOCK2 OPLOCK3"
15 tests="$tests DIR DIR1 TCON TCONDEV RW1 RW2 RW3"
16 tests="$tests OPEN XCOPY RENAME DELETE PROPERTIES W2K"
17 tests="$tests TCON2 IOCTL CHKPATH FDSESS LOCAL-SUBSTITUTE"
18
19 for t in $tests; do
20     plantest "SAMBA3-$t" dc $VALGRIND $BINDIR/smbtorture $ADDARGS //\$SERVER_IP/tmp -U"\$USERNAME"%"\$PASSWORD" $t
21 done