2007-01-23 10:25:56 +08:00
|
|
|
<testcase>
|
2007-01-11 07:40:22 +08:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
TFTP
|
|
|
|
TFTP RRQ
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
A chunk of data which exactly fits into
|
|
|
|
a 512 byte TFTP block, testing a boundary
|
|
|
|
condition in the TFTP receive code.
|
|
|
|
789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
123456789ABCDEF
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
tftp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
TFTP retrieve of boundary case 512 byte file
|
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-13 00:38:26 +08:00
|
|
|
tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER
|
2007-01-11 07:40:22 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify pseudo protocol after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2021-09-01 21:51:06 +08:00
|
|
|
opcode = 1
|
|
|
|
mode = octet
|
|
|
|
tsize = 0
|
|
|
|
blksize = 512
|
|
|
|
timeout = 6
|
|
|
|
filename = /%TESTNUMBER
|
2007-01-11 07:40:22 +08:00
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|