2007-01-23 10:25:56 +08:00
|
|
|
<testcase>
|
2007-01-16 05:06:12 +08:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
TFTP
|
|
|
|
TFTP WRQ
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
tftp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
TFTP send of boundary case 512 byte file
|
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-13 00:38:26 +08:00
|
|
|
-T log/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT//
|
2007-01-16 05:06:12 +08:00
|
|
|
</command>
|
2021-03-13 00:38:26 +08:00
|
|
|
<file name="log/test%TESTNUMBER.txt">
|
2007-01-16 05:06:12 +08:00
|
|
|
A chunk of data which exactly fits into
|
|
|
|
a 512 byte TFTP block, testing a boundary
|
|
|
|
condition in the TFTP transmit code.
|
|
|
|
89ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
</file>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify pseudo protocol after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<upload>
|
|
|
|
A chunk of data which exactly fits into
|
|
|
|
a 512 byte TFTP block, testing a boundary
|
|
|
|
condition in the TFTP transmit code.
|
|
|
|
89ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
</upload>
|
|
|
|
<protocol>
|
2021-09-01 21:51:06 +08:00
|
|
|
opcode = 2
|
|
|
|
mode = octet
|
|
|
|
tsize = 512
|
|
|
|
blksize = 512
|
|
|
|
timeout = 6
|
|
|
|
filename = /test%TESTNUMBER.txt
|
2007-01-16 05:06:12 +08:00
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|