xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 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 | </reply> | ||||
20 | |||||
21 | # | ||||
22 | # Client-side | ||||
23 | <client> | ||||
24 | <server> | ||||
25 | tftp | ||||
26 | </server> | ||||
27 | <name> | ||||
28 | TFTP retrieve with mode=i | ||||
29 | </name> | ||||
30 | <command> | ||||
31 | "tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER;mode=i" --use-ascii | ||||
32 | </command> | ||||
33 | </client> | ||||
34 | |||||
35 | # | ||||
36 | # Verify pseudo protocol after the test has been "shot" | ||||
37 | <verify> | ||||
38 | <protocol> | ||||
39 | opcode = 1 | ||||
40 | mode = octet | ||||
41 | tsize = 0 | ||||
42 | blksize = 512 | ||||
43 | timeout = 6 | ||||
44 | filename = /%TESTNUMBER | ||||
45 | </protocol> | ||||
46 | </verify> | ||||
47 | </testcase> |