1<testcase> 2<info> 3<keywords> 4TFTP 5TFTP WRQ 6</keywords> 7</info> 8 9# 10# Client-side 11<client> 12<server> 13tftp 14</server> 15<name> 16TFTP send of boundary case 512 byte file 17</name> 18<command> 19-T %LOGDIR/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT// 20</command> 21<file name="%LOGDIR/test%TESTNUMBER.txt"> 22A chunk of data which exactly fits into 23a 512 byte TFTP block, testing a boundary 24condition in the TFTP transmit code. 2589ABCDEF 26123456789ABCDEF 27123456789ABCDEF 28123456789ABCDEF 29123456789ABCDEF 30123456789ABCDEF 31123456789ABCDEF 32123456789ABCDEF 33123456789ABCDEF 34123456789ABCDEF 35123456789ABCDEF 36123456789ABCDEF 37123456789ABCDEF 38123456789ABCDEF 39123456789ABCDEF 40123456789ABCDEF 41123456789ABCDEF 42123456789ABCDEF 43123456789ABCDEF 44123456789ABCDEF 45123456789ABCDEF 46123456789ABCDEF 47123456789ABCDEF 48123456789ABCDEF 49123456789ABCDEF 50</file> 51</client> 52 53# 54# Verify pseudo protocol after the test has been "shot" 55<verify> 56<upload> 57A chunk of data which exactly fits into 58a 512 byte TFTP block, testing a boundary 59condition in the TFTP transmit code. 6089ABCDEF 61123456789ABCDEF 62123456789ABCDEF 63123456789ABCDEF 64123456789ABCDEF 65123456789ABCDEF 66123456789ABCDEF 67123456789ABCDEF 68123456789ABCDEF 69123456789ABCDEF 70123456789ABCDEF 71123456789ABCDEF 72123456789ABCDEF 73123456789ABCDEF 74123456789ABCDEF 75123456789ABCDEF 76123456789ABCDEF 77123456789ABCDEF 78123456789ABCDEF 79123456789ABCDEF 80123456789ABCDEF 81123456789ABCDEF 82123456789ABCDEF 83123456789ABCDEF 84123456789ABCDEF 85</upload> 86<strip> 87^timeout = [5-6]$ 88</strip> 89<protocol> 90opcode = 2 91mode = octet 92tsize = 512 93blksize = 512 94filename = /test%TESTNUMBER.txt 95</protocol> 96</verify> 97</testcase> 98