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 | <datacheck> | ||||
20 | a chunk of | ||||
21 | data | ||||
22 | returned | ||||
23 | to client | ||||
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//%TESTNUMBER;mode=netascii" | ||||
38 | </command> | ||||
39 | </client> | ||||
40 | |||||
41 | # | ||||
42 | # Verify pseudo protocol after the test has been "shot" | ||||
43 | <verify> | ||||
44 | <protocol> | ||||
45 | opcode = 1 | ||||
46 | mode = netascii | ||||
47 | tsize = 0 | ||||
48 | blksize = 512 | ||||
49 | timeout = 6 | ||||
50 | filename = /%TESTNUMBER | ||||
51 | </protocol> | ||||
52 | </verify> | ||||
53 | </testcase> |