tests: Added POP3 graceful authentication cancellation tests

This commit is contained in:
Steve Holme
2013-11-23 14:46:32 +00:00
parent 23fabf8dea
commit d3325ae40a
4 changed files with 172 additions and 1 deletions

54
tests/data/test878 Normal file
View File

@@ -0,0 +1,54 @@
<testcase>
<info>
<keywords>
POP3
POP3 AUTH DIGEST-MD5
RFC1734
RFC2831
RFC5034
</keywords>
</info>
#
# Server-side
<reply>
<servercmd>
AUTH DIGEST-MD5
REPLY AUTH + Rubbish
REPLY * -ERR AUTH exchange cancelled by client
</servercmd>
</reply>
#
# Client-side
<client>
<server>
pop3
</server>
<features>
debug
crypto
</features>
<name>
POP3 DIGEST-MD5 graceful cancellation
</name>
<command>
pop3://%HOSTIP:%POP3PORT/878 -u user:secret
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
# 67 - CURLE_LOGIN_DENIED
<errorcode>
67
</errorcode>
<protocol>
CAPA
AUTH DIGEST-MD5
*
QUIT
</protocol>
</verify>
</testcase>