summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-06-08 12:12:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:49 -0500
commit16de998bc6050609fc6208b260b9d83acde06bac (patch)
tree9c9cf1a8b0fbfec85006d477f50ba8cd48e987a1
parentc80aedc7442e7f9dc649d5790926cca5431da218 (diff)
downloadsamba-16de998bc6050609fc6208b260b9d83acde06bac.tar.gz
samba-16de998bc6050609fc6208b260b9d83acde06bac.tar.bz2
samba-16de998bc6050609fc6208b260b9d83acde06bac.zip
r7387: enable extra smbtorture args to test_posix.sh
metze (This used to be commit ee8407c9165323feadc19d20c45f5b834b1a8379)
-rwxr-xr-xsource4/script/tests/test_posix.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/source4/script/tests/test_posix.sh b/source4/script/tests/test_posix.sh
index 57dae705cd..f970321191 100755
--- a/source4/script/tests/test_posix.sh
+++ b/source4/script/tests/test_posix.sh
@@ -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