From 616fbc543c9262ef53fc3bb7217c9d52d9710f4b Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 19 Jun 2005 13:27:22 +0000 Subject: r7758: When not running on the build farm, print out the failed command line again. Add NTLMv2 varients to the echo and session key tests. Andrew Bartlett (This used to be commit 544a38824e2b10c65e6f7ef0b373aa8575fa2cb1) --- source4/script/tests/test_echo.sh | 7 +++++-- source4/script/tests/test_functions.sh | 2 +- source4/script/tests/test_session_key.sh | 7 ++++++- 3 files changed, 12 insertions(+), 4 deletions(-) (limited to 'source4') diff --git a/source4/script/tests/test_echo.sh b/source4/script/tests/test_echo.sh index 708afae2bb..3b6c2d286d 100755 --- a/source4/script/tests/test_echo.sh +++ b/source4/script/tests/test_echo.sh @@ -32,15 +32,18 @@ for transport in $transports; do "--option=ntlmssp_client:ntlm2=no --option=ntlmssp_client:128bit=no --option=torture:echo_TestSleep=no" \ "--option=ntlmssp_client:ntlm2=yes --option=ntlmssp_client:keyexchange=no --option=torture:echo_TestSleep=no" \ "--option=ntlmssp_client:ntlm2=no --option=ntlmssp_client:keyexchange=no --option=torture:echo_TestSleep=no" \ + "--option=clientntlmv2auth=yes --option=ntlmssp_client:keyexchange=no --option=torture:echo_TestSleep=no" \ + "--option=clientntlmv2auth=yes --option=ntlmssp_client:128bit=no --option=ntlmssp_client:keyexchange=yes --option=torture:echo_TestSleep=no" \ + "--option=clientntlmv2auth=yes --option=ntlmssp_client:128bit=no --option=ntlmssp_client:keyexchange=no --option=torture:echo_TestSleep=no" \ ; do - name="$transport with $bindoptions and $ntlmoptions" + 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 # separately test the print option - its v slow -name="print option" +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 diff --git a/source4/script/tests/test_functions.sh b/source4/script/tests/test_functions.sh index 771e024678..fa007f7cae 100644 --- a/source4/script/tests/test_functions.sh +++ b/source4/script/tests/test_functions.sh @@ -109,7 +109,7 @@ testit() { echo "TEST FAILED: $name (status $status)" echo "==========================================" else - echo "TEST FAILED: $name (status $status)" + echo "TEST FAILED: $cmdline (status $status)" fi return 1; fi diff --git a/source4/script/tests/test_session_key.sh b/source4/script/tests/test_session_key.sh index 48f3d19183..77f8732d35 100755 --- a/source4/script/tests/test_session_key.sh +++ b/source4/script/tests/test_session_key.sh @@ -25,9 +25,14 @@ transport="ncacn_np" "--option=usespnego=yes--option=ntlmssp_client:ntlm2=no --option=ntlmssp_client:128bit=no" \ "--option=usespnego=yes --option=ntlmssp_client:ntlm2=yes --option=ntlmssp_client:keyexchange=no" \ "--option=usespnego=yes --option=ntlmssp_client:ntlm2=no --option=ntlmssp_client:keyexchange=no" \ + "--option=usespnego=yes --option=clientntlmv2auth=yes --option=ntlmssp_client:keyexchange=no" \ + "--option=usespnego=yes --option=clientntlmv2auth=yes --option=ntlmssp_client:keyexchange=yes" \ + "--option=usespnego=yes --option=clientntlmv2auth=yes --option=ntlmssp_client:keyexchange=yes --option=ntlmssp_client:128bit=no" \ + "--option=usespnego=yes --option=clientntlmv2auth=yes --option=ntlmssp_client:keyexchange=no --option=ntlmssp_client:128bit=no" \ + "--option=usespnego=no --option=clientntlmv2auth=yes" \ "--option=usespnego=no" \ ; do - name="$transport with $ntlmoptions" + name="RPC-SECRETS on $transport with $ntlmoptions" testit "$name" bin/smbtorture $TORTURE_OPTIONS $transport:"$server[$bindoptions]" $ntlmoptions -U"$username"%"$password" -W $domain RPC-SECRETS "$*" || failed=`expr $failed + 1` done testok $0 $failed -- cgit