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