curl/tests/data/test862
Daniel Stenberg 3fd80c7b59
tests: remove leading spaces from some tags
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
2023-10-04 14:15:23 +02:00

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>