curl/tests/data/test1327
Dan Fandrich e7a021e135 tests: use %LOGDIR to refer to the log directory
This will allow it be set dynamically.

Ref: #10818
2023-03-30 09:53:57 -07:00

48 lines
624 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>