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