lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | TFTP | ||||
5 | TFTP RRQ | ||||
6 | --local-port | ||||
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 --local-port | ||||
29 | </name> | ||||
30 | <command> | ||||
31 | tftp://%HOSTIP:%TFTPPORT//1009 --local-port 44444-45444 | ||||
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: /1009 | ||||
45 | </protocol> | ||||
46 | </verify> | ||||
47 | </testcase> |