From a2b93c3f5f964e0d9434889d0e47e14bc9e67b8f Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 28 Oct 2005 12:08:03 +0000 Subject: r11372: Now RPC-SAMLOGON works, place it into the default 'make test'. Andrew Bartlett (This used to be commit 381c4f9fef00cd65ebcbf41ab0cf62fd69ffc8cf) --- source4/script/tests/test_rpc.sh | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'source4') diff --git a/source4/script/tests/test_rpc.sh b/source4/script/tests/test_rpc.sh index 7ea1fbb0b3..fcd7cff3b3 100755 --- a/source4/script/tests/test_rpc.sh +++ b/source4/script/tests/test_rpc.sh @@ -40,19 +40,19 @@ for bindoptions in seal,validate,padcheck bigendian; do done done -testok $0 $failed +for bindoptions in connect validate ; do + for transport in ncalrpc; do + case $transport in + ncalrpc) tests=$slow_ncalrpc_tests ;; + ncacn_np) tests=$slow_ncacn_np_tests ;; + ncacn_ip_tcp) tests=$slow_ncacn_ip_tcp_tests ;; + esac + for t in $tests; do + name="$t on $transport with $bindoptions" + testit "$name" $VALGRIND bin/smbtorture $TORTURE_OPTIONS $transport:"$server[$bindoptions]" -U"$username"%"$password" -W $domain $t "$*" || failed=`expr $failed + 1` + done + done +done -#for bindoptions in connect validate padcheck bigendian bigendian,seal; do -# for transport in ncalrpc ncacn_np ncacn_ip_tcp; do -# case $transport in -# ncalrpc) tests=$slow_ncalrpc_tests ;; -# ncacn_np) tests=$slow_ncacn_np_tests ;; -# ncacn_ip_tcp) tests=$slow_ncacn_ip_tcp_tests ;; -# esac -# for t in $tests; do -# name="$t on $transport with $bindoptions" -# testit "$name" $VALGRIND bin/smbtorture $TORTURE_OPTIONS $transport:"$server[$bindoptions]" -U"$username"%"$password" -W $domain $t "$*" || failed=`expr $failed + 1` -# done -# done -#done +testok $0 $failed -- cgit