summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-06-19 13:27:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:32 -0500
commit616fbc543c9262ef53fc3bb7217c9d52d9710f4b (patch)
treec719b67699a7a892ecde6644d7385adf165c0613 /source4/script
parente578c33c2c8bc23a9a78259613f33b65d7d1668f (diff)
downloadsamba-616fbc543c9262ef53fc3bb7217c9d52d9710f4b.tar.gz
samba-616fbc543c9262ef53fc3bb7217c9d52d9710f4b.tar.bz2
samba-616fbc543c9262ef53fc3bb7217c9d52d9710f4b.zip
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)
Diffstat (limited to 'source4/script')
-rwxr-xr-xsource4/script/tests/test_echo.sh7
-rw-r--r--source4/script/tests/test_functions.sh2
-rwxr-xr-xsource4/script/tests/test_session_key.sh7
3 files changed, 12 insertions, 4 deletions
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