diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-11-23 14:46:32 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-11-24 10:37:30 +0000 |
commit | d3325ae40a63452d0cd1709e6318d9953e6c8916 (patch) | |
tree | c67d3eec1cecc634e681d1dd6388de8dd45a5a36 /tests/data/test876 | |
parent | 23fabf8dea65157f02b4663fad102424776805a9 (diff) | |
download | curl-d3325ae40a63452d0cd1709e6318d9953e6c8916.tar.gz |
tests: Added POP3 graceful authentication cancellation tests
Diffstat (limited to 'tests/data/test876')
-rw-r--r-- | tests/data/test876 | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/tests/data/test876 b/tests/data/test876 new file mode 100644 index 000000000..2050ba174 --- /dev/null +++ b/tests/data/test876 @@ -0,0 +1,53 @@ +<testcase> +<info> +<keywords> +POP3 +POP3 AUTH CRAM-MD5 +RFC1734 +RFC2195 +RFC5034 +</keywords> +</info> + +# +# Server-side +<reply> +<servercmd> +AUTH CRAM-MD5 +REPLY AUTH + Rubbish +REPLY * -ERR AUTH exchange cancelled by client +</servercmd> +</reply> + +# +# Client-side +<client> +<server> +pop3 +</server> +<features> +crypto +</features> + <name> +POP3 CRAM-MD5 graceful cancellation + </name> + <command> +pop3://%HOSTIP:%POP3PORT/876 -u user:secret +</command> +</client> + +# +# Verify data after the test has been "shot" +<verify> +# 67 - CURLE_LOGIN_DENIED +<errorcode> +67 +</errorcode> +<protocol> +CAPA
+AUTH CRAM-MD5
+*
+QUIT
+</protocol> +</verify> +</testcase> |