From f2f3e1801b54e6ead595d66ea7c798fc2df22a0a Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 22 Feb 2006 12:10:29 +0000 Subject: r13627: split the NBT-WINSREPLICATION tests into multiple tests metze (This used to be commit ae559920e1d227e4e787fe34d908a965b922b284) --- source4/script/tests/test_nbt.sh | 10 +++++++++- source4/script/tests/tests_quick.sh | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'source4/script') 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 diff --git a/source4/script/tests/tests_quick.sh b/source4/script/tests/tests_quick.sh index dd9230fb16..b48d540841 100755 --- a/source4/script/tests/tests_quick.sh +++ b/source4/script/tests/tests_quick.sh @@ -1,4 +1,5 @@ TORTURE_OPTIONS="$TORTURE_OPTIONS --option=torture:quick=yes" +TORTURE_QUICK="yes" $SRCDIR/script/tests/test_ejs.sh $DOMAIN $USERNAME $PASSWORD || failed=`expr $failed + $?` $SRCDIR/script/tests/test_ldap.sh $SERVER $USERNAME $PASSWORD || failed=`expr $failed + $?` -- cgit