1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00
curl/tests/data/test856
Daniel Stenberg a4db3f7046
tests: make the imap server not verify user+password
... 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
2017-09-22 14:43:33 +02:00

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>