mirror of
https://github.com/curl/curl.git
synced 2024-12-21 06:50:10 +08:00
3fd80c7b59
The threee tags `<name>`, `</name>` and `<command>` were frequently used with a leading space that this removes. The reason this habbit is so widespread in testcases is probably that they have been copy and pasted. Hence, fixing them all now might curb this practice from now on. Closes #12028
51 lines
585 B
Plaintext
51 lines
585 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
POP3
|
|
Clear Text
|
|
TOP
|
|
CUSTOMREQUEST
|
|
RFC2449
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
<servercmd>
|
|
CAPA TOP USER
|
|
</servercmd>
|
|
<data>
|
|
From: me@somewhere
|
|
To: fake@nowhere
|
|
|
|
</data>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
pop3
|
|
</server>
|
|
<name>
|
|
POP3 retrieve message header (CUSTOMREQUEST)
|
|
</name>
|
|
<command>
|
|
pop3://%HOSTIP:%POP3PORT -u user:secret -X 'TOP %TESTNUMBER 0'
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
CAPA
|
|
USER user
|
|
PASS secret
|
|
TOP %TESTNUMBER 0
|
|
QUIT
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|