29965505f413508ea944180a854690e125f8575f
[platform/upstream/curl.git] / tests / data / test1094
1 <testcase>
2 <info>
3 <keywords>
4 TFTP
5 TFTP RRQ
6 mode=
7 </keywords>
8 </info>
9
10 #
11 # Server-side
12 <reply>
13 <data>
14 a chunk of
15 data
16 returned
17  to client
18 </data>
19 <datacheck>
20 a chunk of\r
21 data\r
22 returned\r
23  to client\r
24 </datacheck>
25 </reply>
26
27 #
28 # Client-side
29 <client>
30 <server>
31 tftp
32 </server>
33  <name>
34 TFTP retrieve with mode=netascii
35  </name>
36  <command>
37 "tftp://%HOSTIP:%TFTPPORT//1094;mode=netascii" --trace-ascii log/traceit
38 </command>
39 </client>
40
41 #
42 # Verify pseudo protocol after the test has been "shot"
43 <verify>
44 <protocol>
45 opcode: 1
46 filename: /1094
47 mode: netascii
48 </protocol>
49 </verify>
50 </testcase>