test286 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <testcase>
  2. <info>
  3. <keywords>
  4. TFTP
  5. TFTP WRQ
  6. </keywords>
  7. </info>
  8. #
  9. # Client-side
  10. <client>
  11. <server>
  12. tftp
  13. </server>
  14. <name>
  15. TFTP send of boundary case 512 byte file
  16. </name>
  17. <command>
  18. -T log/test286.txt tftp://%HOSTIP:%TFTPPORT// --trace-ascii log/traceit
  19. </command>
  20. <file name="log/test286.txt">
  21. A chunk of data which exactly fits into
  22. a 512 byte TFTP block, testing a boundary
  23. condition in the TFTP transmit code.
  24. 89ABCDEF
  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. 123456789ABCDEF
  41. 123456789ABCDEF
  42. 123456789ABCDEF
  43. 123456789ABCDEF
  44. 123456789ABCDEF
  45. 123456789ABCDEF
  46. 123456789ABCDEF
  47. 123456789ABCDEF
  48. 123456789ABCDEF
  49. </file>
  50. </client>
  51. #
  52. # Verify pseudo protocol after the test has been "shot"
  53. <verify>
  54. <upload>
  55. A chunk of data which exactly fits into
  56. a 512 byte TFTP block, testing a boundary
  57. condition in the TFTP transmit code.
  58. 89ABCDEF
  59. 123456789ABCDEF
  60. 123456789ABCDEF
  61. 123456789ABCDEF
  62. 123456789ABCDEF
  63. 123456789ABCDEF
  64. 123456789ABCDEF
  65. 123456789ABCDEF
  66. 123456789ABCDEF
  67. 123456789ABCDEF
  68. 123456789ABCDEF
  69. 123456789ABCDEF
  70. 123456789ABCDEF
  71. 123456789ABCDEF
  72. 123456789ABCDEF
  73. 123456789ABCDEF
  74. 123456789ABCDEF
  75. 123456789ABCDEF
  76. 123456789ABCDEF
  77. 123456789ABCDEF
  78. 123456789ABCDEF
  79. 123456789ABCDEF
  80. 123456789ABCDEF
  81. 123456789ABCDEF
  82. 123456789ABCDEF
  83. </upload>
  84. <protocol>
  85. opcode: 2
  86. filename: /test286.txt
  87. mode: octet
  88. </protocol>
  89. </verify>
  90. </testcase>