diff options
Diffstat (limited to 'source4/script')
-rwxr-xr-x | source4/script/tests/test_rpc.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source4/script/tests/test_rpc.sh b/source4/script/tests/test_rpc.sh index bfce65bbb6..63d22f4083 100755 --- a/source4/script/tests/test_rpc.sh +++ b/source4/script/tests/test_rpc.sh @@ -2,7 +2,9 @@ # add tests to this list as they start passing, so we test # that they stay passing -tests="RPC-SCHANNEL RPC-ECHO" +ncacn_np_tests="RPC-SCHANNEL RPC-ECHO RPC-DSSETUP" +ncalrpc_tests="RPC-SCHANNEL RPC-ECHO RPC-DSSETUP" +ncacn_ip_tcp_tests="RPC-SCHANNEL RPC-ECHO" if [ $# -lt 4 ]; then cat <<EOF @@ -31,6 +33,11 @@ testit() { for transport in ncalrpc ncacn_np ncacn_ip_tcp; do for bindoptions in connect sign seal sign,seal validate padcheck bigendian bigendian,seal; do + case $transport in + ncalrpc) tests=$ncalrpc_tests ;; + 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 "$*" |