summaryrefslogtreecommitdiff
path: root/source4/script/tests/test_nbt.sh
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-02-22 12:10:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:02 -0500
commitf2f3e1801b54e6ead595d66ea7c798fc2df22a0a (patch)
treebae8c3227de15ff0ead7d0bbaebad452da5a66d6 /source4/script/tests/test_nbt.sh
parente68802a2a6600eeade91f6bf8ac591361785c76c (diff)
downloadsamba-f2f3e1801b54e6ead595d66ea7c798fc2df22a0a.tar.gz
samba-f2f3e1801b54e6ead595d66ea7c798fc2df22a0a.tar.bz2
samba-f2f3e1801b54e6ead595d66ea7c798fc2df22a0a.zip
r13627: split the NBT-WINSREPLICATION tests into multiple tests
metze (This used to be commit ae559920e1d227e4e787fe34d908a965b922b284)
Diffstat (limited to 'source4/script/tests/test_nbt.sh')
-rwxr-xr-xsource4/script/tests/test_nbt.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/source4/script/tests/test_nbt.sh b/source4/script/tests/test_nbt.sh
index 3aa558c589..0f05b55298 100755
--- a/source4/script/tests/test_nbt.sh
+++ b/source4/script/tests/test_nbt.sh
@@ -21,7 +21,15 @@ 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`
-for f in NBT-REGISTER NBT-WINS NBT-WINSREPLICATION NET-API-LOOKUP NET-API-LOOKUPHOST NET-API-LOOKUPPDC; do
+NBT_TESTS="NBT-REGISTER NBT-WINS"
+NBT_TESTS="$NBT_TESTS NBT-WINSREPLICATION-SIMPLE"
+NBT_TESTS="$NBT_TESTS NBT-WINSREPLICATION-REPLICA"
+if [ "$TORTURE_QUICK"x = "yes"x ]; then
+ NBT_TESTS="$NBT_TESTS NBT-WINSREPLICATION-OWNED"
+fi
+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`
done