From a92b3d070fa3a11276ea1b755fe364e5f8988cb9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 15 Jul 2005 12:54:55 +0000 Subject: r8496: speed up the test_echo.sh test a lot, while still providing good coverage (This used to be commit 037feb7538f162d99f220b46c29a3c1538b69d16) --- source4/script/tests/test_echo.sh | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'source4/script/tests/test_echo.sh') diff --git a/source4/script/tests/test_echo.sh b/source4/script/tests/test_echo.sh index 3b6c2d286d..e90b3b5be9 100755 --- a/source4/script/tests/test_echo.sh +++ b/source4/script/tests/test_echo.sh @@ -25,7 +25,16 @@ failed=0 for transport in $transports; do for bindoptions in connect sign seal sign,seal validate padcheck bigendian bigendian,seal; do for ntlmoptions in \ - "--option=socket:testnonblock=True --option=torture:echo_TestSleep=no" \ + "--option=socket:testnonblock=True --option=torture:echo_TestSleep=no"; do + name="RPC-ECHO on $transport with $bindoptions and $ntlmoptions" + testit "$name" bin/smbtorture $TORTURE_OPTIONS $transport:"$server[$bindoptions]" $ntlmoptions -U"$username"%"$password" -W $domain RPC-ECHO "$*" || failed=`expr $failed + 1` + done + done +done + +for transport in $transports; do + for bindoptions in sign seal; do + for ntlmoptions in \ "--option=ntlmssp_client:ntlm2=yes --option=torture:echo_TestSleep=no" \ "--option=ntlmssp_client:ntlm2=no --option=torture:echo_TestSleep=no" \ "--option=ntlmssp_client:ntlm2=yes --option=ntlmssp_client:128bit=no --option=torture:echo_TestSleep=no" \ @@ -42,8 +51,4 @@ for transport in $transports; do done done -# separately test the print option - its v slow -name="RPC-ECHO with print option" -testit "$name" bin/smbtorture $TORTURE_OPTIONS ncacn_np:"$server[print]" -U"$username"%"$password" -W $domain RPC-ECHO "$*" || failed=`expr $failed + 1` - testok $0 $failed -- cgit