curl-curl/tests/data/test857
Viktor Szakats 4d2a05d3fe
tests: use crlf=yes attribute more
To make special newlines more explicit and visible.
Mostly in `<protocol>` sections, some in `<data*>` and `<upload>`.

Reducing the number of `tests/data/test*`:
- CRLF newlines from 21535 to 11337.
- files with mixed newlines from 1335 to 707.

Also delete empty `<protocol>` sections.

Closes #19284
2025-10-31 15:01:08 +01:00

61 lines
725 B
Plaintext

<testcase>
<info>
<keywords>
POP3
Clear Text
RETR
</keywords>
</info>
#
# Server-side
<reply>
<data>
From: me@somewhere
To: fake@nowhere
..body with a single dot first
...triple dots...
--
yours sincerely
</data>
<datacheck>
From: me@somewhere
To: fake@nowhere
.body with a single dot first
..triple dots...
--
yours sincerely
</datacheck>
</reply>
#
# Client-side
<client>
<server>
pop3
</server>
<name>
POP3 RETR message with dot-prefixed line
</name>
<command>
pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="yes">
CAPA
USER user
PASS secret
RETR %TESTNUMBER
QUIT
</protocol>
</verify>
</testcase>