1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-13 21:15:08 -05:00
curl/tests/data/test851

45 lines
540 B
Plaintext
Raw Normal View History

<testcase>
<info>
<keywords>
POP3
Clear Text
LIST
</keywords>
</info>
#
# Server-side
<reply>
<servercmd>
# include the '.\r\n' 3-byte trailer to end the transfer properly!
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>