r24861: Use absolute paths to make it easier to run the testsuite from the Samba3...
[ab/samba.git/.git] / source4 / selftest / test_cifs.sh
1 #!/bin/sh
2
3 # this runs the file serving tests that are expected to pass with the
4 # current posix ntvfs backend, via the ntvfs cifs proxy
5
6 ADDARGS="$*"
7
8 incdir=`dirname $0`
9 . $incdir/test_functions.sh
10
11 raw=`bin/smbtorture --list | grep "^RAW-" | xargs`
12 base=`bin/smbtorture --list | grep "^BASE-" | xargs`
13 tests="$base $raw"
14
15 for t in $tests; do
16     plantest "ntvfs/cifs $t" dc $VALGRIND $samba4bindir/smbtorture $TORTURE_OPTIONS $ADDARGS //\$NETBIOSNAME/cifs -U"\$USERNAME"%"\$PASSWORD" $t
17 done