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/test830 | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 tests/data/test830 (limited to 'tests/data/test830') diff --git a/tests/data/test830 b/tests/data/test830 new file mode 100644 index 000000000..42587f6e3 --- /dev/null +++ b/tests/data/test830 @@ -0,0 +1,51 @@ + + + +IMAP +IMAP AUTH CRAM-MD5 +RFC2195 + + + +# +# Server-side + + +AUTH CRAM-MD5 +REPLY AUTHENTICATE + Rubbish +REPLY * A002 NO AUTH exchange cancelled by client + + + +# +# Client-side + + +imap + + +crypto + + +IMAP CRAM-MD5 graceful cancellation + + +'imap://%HOSTIP:%IMAPPORT/830/;UID=1' -u user:secret + + + +# +# Verify data after the test has been "shot" + +# 67 - CURLE_LOGIN_DENIED + +67 + + +A001 CAPABILITY +A002 AUTHENTICATE CRAM-MD5 +* +A003 LOGOUT + + + -- cgit v1.2.3