From d3325ae40a63452d0cd1709e6318d9953e6c8916 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 23 Nov 2013 14:46:32 +0000 Subject: tests: Added POP3 graceful authentication cancellation tests --- tests/data/test877 | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 tests/data/test877 (limited to 'tests/data/test877') diff --git a/tests/data/test877 b/tests/data/test877 new file mode 100644 index 000000000..33604cb0f --- /dev/null +++ b/tests/data/test877 @@ -0,0 +1,63 @@ + + + +POP3 +POP3 AUTH NTLM +RFC1734 +RFC5034 + + + +# +# Server-side + + +AUTH NTLM +REPLY AUTH + +REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= + Rubbish +REPLY * -ERR AUTH exchange cancelled by client + + + +# +# Client-side + + +pop3 + + +NTLM + + +POP3 NTLM graceful cancellation + + +# we force our own host name, in order to make the test machine independent +CURL_GETHOSTNAME=curlhost +# we try to use the LD_PRELOAD hack, if not a debug build +LD_PRELOAD=%PWD/libtest/.libs/libhostname.so + + +pop3://%HOSTIP:%POP3PORT/877 -u testuser:testpass + + +chkhostname curlhost + + + +# +# Verify data after the test has been "shot" + +# 67 - CURLE_LOGIN_DENIED + +67 + + +CAPA +AUTH NTLM +TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= +* +QUIT + + + -- cgit v1.2.3