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