r22572: Don't manually set objectGUID values
[sfrench/samba-autobuild/.git] / source4 / script / tests / 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     if [ ! -z "$start" -a "$start" != $t ]; then
18         continue;
19     fi
20     start=""
21     plantest "$t" dc $VALGRIND bin/smbtorture $TORTURE_OPTIONS $ADDARGS //\$SERVER/tmp -U"\$USERNAME"%"\$PASSWORD" $t
22 done