r24945: The behaviour of the SAMR server on a member server is worth testing
[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=`$samba4bindir/smbtorture --list | grep "^SMB2-" | xargs`
12 raw=`$samba4bindir/smbtorture --list | grep "^RAW-" | xargs`
13 base=`$samba4bindir/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