r22187: Test kerberos logins in the smbclient blackbox tests, including with a
[Samba.git] / source / script / tests / test_cifs.sh
blobfefa9169ddee0ecdb39e4859d378c7b92fb1d441
1 #!/bin/sh
3 # this runs the file serving tests that are expected to pass with the
4 # current posix ntvfs backend, via the ntvfs cifs proxy
6 ADDARGS="$*"
8 incdir=`dirname $0`
9 . $incdir/test_functions.sh
11 raw=`bin/smbtorture --list | grep "^RAW-" | xargs`
12 base=`bin/smbtorture --list | grep "^BASE-" | xargs`
13 tests="$base $raw $smb2"
15 for t in $tests; do
16 if [ ! -z "$start" -a "$start" != $t ]; then
17 continue;
19 start=""
20 plantest "ntvfs/cifs $t" dc $VALGRIND bin/smbtorture $TORTURE_OPTIONS $ADDARGS //\$SERVER/cifs -U"\$USERNAME"%"\$PASSWORD" $t
21 done