From 365d9ef73d47446c2aaa4f24c970d4e6ec81c20a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 6 Jan 2005 09:26:14 +0000 Subject: r4560: - fixed crash bugs in the RPC-SCHANNEL and RPC-NETLOGON tests - disabled the async netlogon tests for now until we better understand async rpc - added a test_w2k3.sh script that runs rpc tests that a w2k3 DC should pass. This is useful for regression testing when PIDL changes are made. (This used to be commit f7d4d3db489ad79457de70a85ad990159f6e74f8) --- source4/script/tests/test_rpc.sh | 2 +- source4/script/tests/test_w2k3.sh | 53 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100755 source4/script/tests/test_w2k3.sh (limited to 'source4/script') diff --git a/source4/script/tests/test_rpc.sh b/source4/script/tests/test_rpc.sh index 63d22f4083..a1181cab42 100755 --- a/source4/script/tests/test_rpc.sh +++ b/source4/script/tests/test_rpc.sh @@ -8,7 +8,7 @@ ncacn_ip_tcp_tests="RPC-SCHANNEL RPC-ECHO" if [ $# -lt 4 ]; then cat < test.$$ 2>&1; then + cat test.$$; + rm -f test.$$; + echo "TEST FAILED - $cmdline"; + exit 1; + fi + rm -f test.$$; +} + +for transport in ncacn_ip_tcp ncacn_np; do + for bindoptions in connect sign seal validate bigendian; do + case $transport in + ncacn_np) tests=$ncacn_np_tests ;; + ncacn_ip_tcp) tests=$ncacn_ip_tcp_tests ;; + esac + for t in $tests; do + echo Testing $t on $transport with $bindoptions + testit bin/smbtorture $transport:"$server[$bindoptions]" -U"$username"%"$password" -W $domain $t "$*" + done + done +done + +echo Testing RPC-DRSUAPI on ncacn_ip_tcp with seal +testit bin/smbtorture ncacn_ip_tcp:"$server[seal]" -U"$username"%"$password" -W $domain RPC-DRSUAPI "$*" +echo Testing RPC-DRSUAPI on ncacn_ip_tcp with seal,bigendian +testit bin/smbtorture ncacn_ip_tcp:"$server[seal,bigendian]" -U"$username"%"$password" -W $domain RPC-DRSUAPI "$*" + +echo "ALL OK"; -- cgit