blob: 791189b90a601559d5409c93198218d8087a41cc [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001<testcase>
2<info>
3<keywords>
4TELNET
5UPLOAD
6</keywords>
7</info>
8
9#
10# Server-side
11<reply>
12</reply>
13
14#
15# Client-side
16<client>
17<server>
18http
19</server>
20<features>
21telnet
22</features>
23 <name>
24TELNET check of upload with stdout redirected
25 </name>
26<stdin>
27GET /ignore/for/%TESTNUMBER HTTP/1.0
28
29</stdin>
30<file name="log/%TESTNUMBER.txt">
31GET /we/want/%TESTNUMBER HTTP/1.0
32
33</file>
34 <command option="no-output">
35telnet://%HOSTIP:%HTTPPORT -T log/%TESTNUMBER.txt
36</command>
37</client>
38
39#
40# Verify data after the test has been "shot"
41<verify>
42<protocol>
43GET /we/want/%TESTNUMBER HTTP/1.0
44
45</protocol>
46</verify>
47</testcase>