mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
53 lines
617 B
Plaintext
53 lines
617 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
POP3
|
|
Clear Text
|
|
UIDL
|
|
CUSTOMREQUEST
|
|
RFC2449
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
<servercmd>
|
|
CAPA UIDL USER
|
|
</servercmd>
|
|
# When doing UIDL, we get the default list output hard-coded in the test
|
|
# POP3 server
|
|
<datacheck>
|
|
1 1
|
|
2 2
|
|
3 4
|
|
</datacheck>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
pop3
|
|
</server>
|
|
<name>
|
|
POP3 UIDL (CUSTOMREQUEST)
|
|
</name>
|
|
<command>
|
|
pop3://%HOSTIP:%POP3PORT -u user:secret -X UIDL
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
CAPA
|
|
USER user
|
|
PASS secret
|
|
UIDL
|
|
QUIT
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|