lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | TFTP | ||||
5 | TFTP WRQ | ||||
6 | </keywords> | ||||
7 | </info> | ||||
8 | |||||
9 | # | ||||
10 | # Client-side | ||||
11 | <client> | ||||
12 | <server> | ||||
13 | tftp | ||||
14 | </server> | ||||
15 | <name> | ||||
16 | TFTP send | ||||
17 | </name> | ||||
18 | <command> | ||||
19 | -T log/test285.txt tftp://%HOSTIP:%TFTPPORT// | ||||
20 | </command> | ||||
21 | <file name="log/test285.txt"> | ||||
22 | a chunk of | ||||
23 | data | ||||
24 | sent | ||||
25 | to server | ||||
26 | </file> | ||||
27 | </client> | ||||
28 | |||||
29 | # | ||||
30 | # Verify pseudo protocol after the test has been "shot" | ||||
31 | <verify> | ||||
32 | <upload> | ||||
33 | a chunk of | ||||
34 | data | ||||
35 | sent | ||||
36 | to server | ||||
37 | </upload> | ||||
38 | <protocol> | ||||
39 | opcode: 2 | ||||
40 | mode: octet | ||||
41 | tsize: 32 | ||||
42 | blksize: 512 | ||||
43 | timeout: 6 | ||||
44 | filename: /test285.txt | ||||
45 | </protocol> | ||||
46 | </verify> | ||||
47 | </testcase> |