summaryrefslogtreecommitdiff
path: root/source4/script/tests/test_local.sh
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-01-26 13:33:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:44:22 -0500
commit37a13964ef7529cdcfee426e881a8a73fc027e03 (patch)
treeb9e34550059d3cb8861f59184ba3b68b91b65c67 /source4/script/tests/test_local.sh
parent5c847a00a7eccc190b1d63a3fca1420db8543edf (diff)
downloadsamba-37a13964ef7529cdcfee426e881a8a73fc027e03.tar.gz
samba-37a13964ef7529cdcfee426e881a8a73fc027e03.tar.bz2
samba-37a13964ef7529cdcfee426e881a8a73fc027e03.zip
r21029: - Remove now unused failure checking code
- Use --list option for smbtorture for local and nbt tests as well (This used to be commit 053d5a40bc96b9503220f17f59677a0df6677a1e)
Diffstat (limited to 'source4/script/tests/test_local.sh')
-rwxr-xr-xsource4/script/tests/test_local.sh12
1 files changed, 2 insertions, 10 deletions
diff --git a/source4/script/tests/test_local.sh b/source4/script/tests/test_local.sh
index 8e5d5550c4..5994634418 100755
--- a/source4/script/tests/test_local.sh
+++ b/source4/script/tests/test_local.sh
@@ -1,14 +1,6 @@
#!/bin/sh
-local_tests="LOCAL-REPLACE LOCAL-TALLOC LOCAL-STRLIST"
-local_tests="$local_tests LOCAL-IDTREE LOCAL-EVENT"
-local_tests="$local_tests LOCAL-SOCKET LOCAL-MESSAGING LOCAL-IRPC"
-local_tests="$local_tests LOCAL-NDR LOCAL-BINDING LOCAL-FILE LOCAL-REGISTRY"
-local_tests="$local_tests LOCAL-SDDL LOCAL-PAC LOCAL-DBSPEED LOCAL-TDR "
-local_tests="$local_tests LOCAL-NTLMSSP LOCAL-CRYPTO-MD4"
-local_tests="$local_tests LOCAL-CRYPTO-MD5 LOCAL-CRYPTO-HMACMD5"
-local_tests="$local_tests LOCAL-CRYPTO-SHA1 LOCAL-CRYPTO-HMACSHA1"
-local_tests="$local_tests LOCAL-RESOLVE LOCAL-TORTURE"
+local_tests=`bin/smbtorture --list | grep "^LOCAL-" | xargs`
if [ `uname` = "Linux" ]; then
# testing against the system iconv only makes sense for our 'reference' iconv
@@ -33,7 +25,7 @@ export SMBD_TEST_FIFO
failed=0
for t in $local_tests; do
name="$t"
- testit "$name" $VALGRIND bin/smbtorture $TORTURE_OPTIONS ncalrpc: $t "$*" || failed=`expr $failed + 1`
+ testit "$name" $VALGRIND bin/smbtorture $TORTURE_OPTIONS ncalrpc: $t "$*"
done
testok $0 $failed