test284 1003 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <testcase>
  2. <info>
  3. <keywords>
  4. TFTP
  5. TFTP RRQ
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. <data>
  12. A chunk of data which exactly fits into
  13. a 512 byte TFTP block, testing a boundary
  14. condition in the TFTP receive code.
  15. 789ABCDEF
  16. 123456789ABCDEF
  17. 123456789ABCDEF
  18. 123456789ABCDEF
  19. 123456789ABCDEF
  20. 123456789ABCDEF
  21. 123456789ABCDEF
  22. 123456789ABCDEF
  23. 123456789ABCDEF
  24. 123456789ABCDEF
  25. 123456789ABCDEF
  26. 123456789ABCDEF
  27. 123456789ABCDEF
  28. 123456789ABCDEF
  29. 123456789ABCDEF
  30. 123456789ABCDEF
  31. 123456789ABCDEF
  32. 123456789ABCDEF
  33. 123456789ABCDEF
  34. 123456789ABCDEF
  35. 123456789ABCDEF
  36. 123456789ABCDEF
  37. 123456789ABCDEF
  38. 123456789ABCDEF
  39. 123456789ABCDEF
  40. </data>
  41. </reply>
  42. #
  43. # Client-side
  44. <client>
  45. <server>
  46. tftp
  47. </server>
  48. <name>
  49. TFTP retrieve of boundary case 512 byte file
  50. </name>
  51. <command>
  52. tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER
  53. </command>
  54. </client>
  55. #
  56. # Verify pseudo protocol after the test has been "shot"
  57. <verify>
  58. <protocol>
  59. opcode = 1
  60. mode = octet
  61. tsize = 0
  62. blksize = 512
  63. timeout = 6
  64. filename = /%TESTNUMBER
  65. </protocol>
  66. </verify>
  67. </testcase>