r11372: Now RPC-SAMLOGON works, place it into the default 'make test'.
authorAndrew Bartlett <abartlet@samba.org>
Fri, 28 Oct 2005 12:08:03 +0000 (12:08 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:45:28 +0000 (13:45 -0500)
Andrew Bartlett
(This used to be commit 381c4f9fef00cd65ebcbf41ab0cf62fd69ffc8cf)

source4/script/tests/test_rpc.sh

index 7ea1fbb0b34502cfaaff761f193b74ae07686ed1..fcd7cff3b3e76c85719f26c1eebe07e0a891118b 100755 (executable)
@@ -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