xf.li | 6c8fc1e | 2023-08-12 00:11:09 -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 without TFTP options requests |
| 17 | </name> |
| 18 | <command> |
| 19 | -T log/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT// --tftp-no-options |
| 20 | </command> |
| 21 | <file name="log/test%TESTNUMBER.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 | filename = /test%TESTNUMBER.txt |
| 42 | </protocol> |
| 43 | </verify> |
| 44 | </testcase> |