1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 16:48:49 -05:00
curl/tests/data/test812
Yang Tse b420f60a06 pop3 test server: allow pop3 test server verification to succeed again
Introduce SUPPORTCAPA and SUPPORTAUTH config commands to allow further
pop3 test server expansion for tests that require CAPA or AUTH support,
although this will need some extra work to make it fully functional.
2012-05-30 17:39:14 +02:00

47 lines
503 B
Plaintext

<testcase>
<info>
<keywords>
POP3
RETR
FAILURE
</keywords>
</info>
#
# Server-side
<reply>
<servercmd>
REPLY RETR -ERR no such message
</servercmd>
</reply>
#
# Client-side
<client>
<server>
pop3
</server>
<name>
POP3 RETR invalid message
</name>
<command>
pop3://%HOSTIP:%POP3PORT/812 -u user:secret
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<errorcode>
56
</errorcode>
<protocol>
AUTH
USER user
PASS secret
RETR 812
QUIT
</protocol>
</verify>
</testcase>