curl-curl/tests/data/test1326
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

49 lines
532 B
Plaintext

<testcase>
<info>
<keywords>
TELNET
UPLOAD
</keywords>
</info>
#
# Server-side
<reply>
<data>
HTTP/1.1 200 swsclose
moo
</data>
</reply>
#
# Client-side
<client>
<server>
http
</server>
<features>
telnet
</features>
<name>
TELNET to HTTP server
</name>
<stdin>
GET /we/want/%TESTNUMBER HTTP/1.0
</stdin>
<command>
telnet://%HOSTIP:%HTTPPORT --upload-file -
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="yes">
GET /we/want/%TESTNUMBER HTTP/1.0
</protocol>
</verify>
</testcase>