svn commit: samba r7387 - in branches/SAMBA_4_0/source/script/tests: .

metze at samba.org metze at samba.org
Wed Jun 8 12:12:54 GMT 2005


Author: metze
Date: 2005-06-08 12:12:54 +0000 (Wed, 08 Jun 2005)
New Revision: 7387

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7387

Log:
enable extra smbtorture args to test_posix.sh

metze
Modified:
   branches/SAMBA_4_0/source/script/tests/test_posix.sh


Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/test_posix.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/test_posix.sh	2005-06-08 03:51:06 UTC (rev 7386)
+++ branches/SAMBA_4_0/source/script/tests/test_posix.sh	2005-06-08 12:12:54 UTC (rev 7387)
@@ -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 @@
 username="$2"
 password="$3"
 start="$4"
-shift 3
+shift 4
+ADDARGS="$*"
 
 testit() {
    trap "rm -f test.$$" EXIT
@@ -46,8 +47,6 @@
 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 @@
     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



More information about the samba-cvs mailing list