summaryrefslogtreecommitdiff
path: root/source4/script/tests/test_nbt.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_nbt.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_nbt.sh')
-rwxr-xr-xsource4/script/tests/test_nbt.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/script/tests/test_nbt.sh b/source4/script/tests/test_nbt.sh
index 1cb5b97ac5..6165e7c754 100755
--- a/source4/script/tests/test_nbt.sh
+++ b/source4/script/tests/test_nbt.sh
@@ -18,8 +18,8 @@ SCRIPTDIR=../testprogs/ejs
PATH=bin:$PATH
export PATH
-testit "nmblookup -U $SERVER $SERVER" bin/nmblookup $TORTURE_OPTIONS -U $SERVER $SERVER || failed=`expr $failed + 1`
-testit "nmblookup $SERVER" bin/nmblookup $TORTURE_OPTIONS $SERVER || failed=`expr $failed + 1`
+testit "nmblookup -U $SERVER $SERVER" bin/nmblookup $TORTURE_OPTIONS -U $SERVER $SERVER
+testit "nmblookup $SERVER" bin/nmblookup $TORTURE_OPTIONS $SERVER
NBT_TESTS="NBT-REGISTER NBT-WINS"
NBT_TESTS="$NBT_TESTS NBT-WINSREPLICATION"
@@ -29,7 +29,7 @@ NBT_TESTS="$NBT_TESTS NBT-WINSREPLICATION"
NBT_TESTS="$NBT_TESTS NET-API-LOOKUP NET-API-LOOKUPHOST NET-API-LOOKUPPDC"
for f in $NBT_TESTS; do
- testit "$f" bin/smbtorture $TORTURE_OPTIONS //$SERVER/_none_ $f || failed=`expr $failed + 1`
+ testit "$f" bin/smbtorture $TORTURE_OPTIONS //$SERVER/_none_ $f
done
testok $0 $failed