mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 16:48:49 -05:00
a4db3f7046
... as the test cases themselves do that and it makes it easier to add crazy test cases. Test 800 updated to use user name + password that need quoting. Test 856 updated to trigger an auth fail differently. Ref: #1902
49 lines
640 B
Plaintext
49 lines
640 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
POP3
|
|
Clear Text
|
|
FAILURE
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
<servercmd>
|
|
REPLY PASS -ERR Login failure
|
|
</servercmd>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
pop3
|
|
</server>
|
|
<name>
|
|
POP3 invalid login
|
|
</name>
|
|
<command>
|
|
pop3://%HOSTIP:%POP3PORT/856 -u user:wrong
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
# 67 - CURLE_LOGIN_DENIED
|
|
<errorcode>
|
|
67
|
|
</errorcode>
|
|
#
|
|
# The multi interface considers a broken "CONNECT" as a prematurely broken
|
|
# transfer and such a connection will not get a "QUIT"
|
|
<protocol>
|
|
CAPA
|
|
USER user
|
|
PASS wrong
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|