test284 1023 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. <strip>
  59. ^timeout = [5-6]$
  60. </strip>
  61. <protocol>
  62. opcode = 1
  63. mode = octet
  64. tsize = 0
  65. blksize = 512
  66. filename = /%TESTNUMBER
  67. </protocol>
  68. </verify>
  69. </testcase>