deps/curl/tests/data/test271
raw| 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | TFTP |
| 5 | TFTP RRQ |
| 6 | </keywords> |
| 7 | </info> |
| 8 | |
| 9 | # |
| 10 | # Server-side |
| 11 | <reply> |
| 12 | <data> |
| 13 | a chunk of |
| 14 | data |
| 15 | returned |
| 16 | to client |
| 17 | </data> |
| 18 | </reply> |
| 19 | |
| 20 | # |
| 21 | # Client-side |
| 22 | <client> |
| 23 | <server> |
| 24 | tftp |
| 25 | </server> |
| 26 | <name> |
| 27 | TFTP retrieve |
| 28 | </name> |
| 29 | <command> |
| 30 | tftp://%HOSTIP:%TFTPPORT//271 |
| 31 | </command> |
| 32 | </client> |
| 33 | |
| 34 | # |
| 35 | # Verify pseudo protocol after the test has been "shot" |
| 36 | <verify> |
| 37 | <protocol> |
| 38 | opcode: 1 |
| 39 | mode: octet |
| 40 | tsize: 0 |
| 41 | blksize: 512 |
| 42 | timeout: 6 |
| 43 | filename: /271 |
| 44 | </protocol> |
| 45 | </verify> |
| 46 | </testcase> |