r7387: enable extra smbtorture args to test_posix.sh
authorStefan Metzmacher <metze@samba.org>
Wed, 8 Jun 2005 12:12:54 +0000 (12:12 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:17:49 +0000 (13:17 -0500)
metze
(This used to be commit ee8407c9165323feadc19d20c45f5b834b1a8379)

source4/script/tests/test_posix.sh

index 57dae705cdf22c412390e48b8e7233819375f1cb..f970321191698a331b7d0ebd2ca75fb449bf936d 100755 (executable)
@@ -5,7 +5,7 @@
 
 if [ $# -lt 3 ]; then
 cat <<EOF
-Usage: test_posix.sh UNC USERNAME PASSWORD <first>
+Usage: test_posix.sh UNC USERNAME PASSWORD <first> <smbtorture args>
 EOF
 exit 1;
 fi
@@ -18,7 +18,8 @@ unc="$1"
 username="$2"
 password="$3"
 start="$4"
-shift 3
+shift 4
+ADDARGS="$*"
 
 testit() {
    trap "rm -f test.$$" EXIT
@@ -46,8 +47,6 @@ tests="$tests RAW-QFSINFO RAW-QFILEINFO RAW-SFILEINFO-BUG RAW-SFILEINFO"
 tests="$tests RAW-LOCK RAW-MKDIR RAW-SEEK RAW-CONTEXT RAW-MUX RAW-OPEN RAW-WRITE"
 tests="$tests RAW-UNLINK RAW-READ RAW-CLOSE RAW-IOCTL RAW-SEARCH RAW-CHKPATH RAW-RENAME"
 tests="$tests RAW-EAS RAW-STREAMS RAW-ACLS"
-tests="$tests LOCAL-ICONV LOCAL-TALLOC LOCAL-MESSAGING LOCAL-BINDING LOCAL-IDTREE"
-tests="$tests LOCAL-SOCKET"
 
 soon="BASE-CHARSET RAW-OPLOCK RAW-NOTIFY BASE-DELAYWRITE"
 
@@ -57,5 +56,5 @@ for t in $tests; do
     fi
     start=""
     echo Testing $t
-    testit $VALGRIND bin/smbtorture $unc -U"$username"%"$password" $t
+    testit $VALGRIND bin/smbtorture $ADDARGS $unc -U"$username"%"$password" $t
 done