1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-10 11:35:07 -05:00
curl/tests/data/test851
2014-03-30 11:34:23 +01:00

45 lines
539 B
Plaintext

<testcase>
<info>
<keywords>
POP3
Clear Text
LIST
</keywords>
</info>
#
# Server-side
<reply>
<servercmd>
# include the '.\r\n' 3-byte trailer to end the transfer poperly!
REPLY LIST +OK 851 100\r\n.
</servercmd>
</reply>
#
# Client-side
<client>
<server>
pop3
</server>
<name>
POP3 LIST one message
</name>
<command>
pop3://%HOSTIP:%POP3PORT/851 -l -u user:secret
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol>
CAPA
USER user
PASS secret
LIST 851
QUIT
</protocol>
</verify>
</testcase>