From 6d3c832a309455f4d99024941b43715e474f9b93 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 23 Nov 2013 14:26:33 +0000 Subject: tests: Added IMAP graceful authentication cancellation tests --- tests/data/test831 | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 tests/data/test831 (limited to 'tests/data/test831') diff --git a/tests/data/test831 b/tests/data/test831 new file mode 100644 index 000000000..651327c6d --- /dev/null +++ b/tests/data/test831 @@ -0,0 +1,61 @@ + + + +IMAP +IMAP AUTH NTLM + + + +# +# Server-side + + +AUTH NTLM +REPLY AUTHENTICATE + +REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= + Rubbish +REPLY * A002 NO AUTH exchange cancelled by client + + + +# +# Client-side + + +imap + + +NTLM + + +IMAP 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 + + +'imap://%HOSTIP:%IMAPPORT/831/;UID=1' -u testuser:testpass + + +chkhostname curlhost + + + +# +# Verify data after the test has been "shot" + +# 67 - CURLE_LOGIN_DENIED + +67 + + +A001 CAPABILITY +A002 AUTHENTICATE NTLM +TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= +* +A003 LOGOUT + + + -- cgit v1.2.3