diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-02-22 12:10:29 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:52:02 -0500 |
commit | f2f3e1801b54e6ead595d66ea7c798fc2df22a0a (patch) | |
tree | bae8c3227de15ff0ead7d0bbaebad452da5a66d6 /source4/script | |
parent | e68802a2a6600eeade91f6bf8ac591361785c76c (diff) | |
download | samba-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')
-rwxr-xr-x | source4/script/tests/test_nbt.sh | 10 | ||||
-rwxr-xr-x | source4/script/tests/tests_quick.sh | 1 |
2 files changed, 10 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 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 + $?` |