xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | TFTP | ||||
5 | TFTP RRQ | ||||
6 | FAILURE | ||||
7 | </keywords> | ||||
8 | </info> | ||||
9 | |||||
10 | <reply> | ||||
11 | <data nocheck="yes"> | ||||
12 | data for %TESTNUMBER | ||||
13 | </data> | ||||
14 | </reply> | ||||
15 | |||||
16 | # | ||||
17 | # Client-side | ||||
18 | <client> | ||||
19 | <server> | ||||
20 | tftp | ||||
21 | </server> | ||||
22 | <name> | ||||
23 | TFTP get first a non-existing file then an existing | ||||
24 | </name> | ||||
25 | <command> | ||||
26 | tftp://%HOSTIP:%TFTPPORT/an/invalid-file tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER | ||||
27 | </command> | ||||
28 | </client> | ||||
29 | |||||
30 | # | ||||
31 | # Verify pseudo protocol after the test has been "shot" | ||||
32 | <verify> | ||||
33 | <protocol> | ||||
34 | opcode = 1 | ||||
35 | mode = octet | ||||
36 | tsize = 0 | ||||
37 | blksize = 512 | ||||
38 | timeout = 6 | ||||
39 | filename = an/invalid-file | ||||
40 | opcode = 1 | ||||
41 | mode = octet | ||||
42 | tsize = 0 | ||||
43 | blksize = 512 | ||||
44 | timeout = 6 | ||||
45 | filename = /%TESTNUMBER | ||||
46 | </protocol> | ||||
47 | <stdout> | ||||
48 | data for %TESTNUMBER | ||||
49 | </stdout> | ||||
50 | </verify> | ||||
51 | </testcase> |