mirror of
https://github.com/curl/curl.git
synced 2025-01-12 13:55:11 +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
48 lines
622 B
Plaintext
48 lines
622 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
TELNET
|
|
UPLOAD
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
http
|
|
</server>
|
|
<features>
|
|
telnet
|
|
</features>
|
|
<name>
|
|
TELNET check of upload with stdout redirected
|
|
</name>
|
|
<stdin>
|
|
GET /ignore/for/%TESTNUMBER HTTP/1.0
|
|
|
|
</stdin>
|
|
<file name="%LOGDIR/%TESTNUMBER.txt">
|
|
GET /we/want/%TESTNUMBER HTTP/1.0
|
|
|
|
</file>
|
|
<command option="no-output">
|
|
telnet://%HOSTIP:%HTTPPORT -T %LOGDIR/%TESTNUMBER.txt
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
GET /we/want/%TESTNUMBER HTTP/1.0
|
|
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|