diff options
Diffstat (limited to 'source4/script/tests')
-rwxr-xr-x | source4/script/tests/test_echo.sh | 15 |
1 files changed, 10 insertions, 5 deletions
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 |