2013-08-23 04:40:38 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
TFTP
|
|
|
|
TFTP RRQ
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<servercmd>
|
2017-04-11 05:53:33 +08:00
|
|
|
writedelay: 2
|
2013-08-23 04:40:38 +08:00
|
|
|
</servercmd>
|
|
|
|
# ~1200 bytes (so that they don't fit in two 512 byte chunks)
|
|
|
|
<data nocheck="yes">
|
|
|
|
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
tftp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
slow TFTP retrieve cancel due to -Y and -y
|
|
|
|
</name>
|
|
|
|
# if less than 1000 bytes/sec within 2 seconds, abort!
|
|
|
|
<command>
|
|
|
|
tftp://%HOSTIP:%TFTPPORT//1238 -Y1000 -y2
|
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify pseudo protocol after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
opcode: 1
|
|
|
|
mode: octet
|
2015-11-06 17:52:19 +08:00
|
|
|
tsize: 0
|
|
|
|
blksize: 512
|
|
|
|
timeout: 6
|
|
|
|
filename: /1238
|
2013-08-23 04:40:38 +08:00
|
|
|
</protocol>
|
|
|
|
# 28 = CURLE_OPERATION_TIMEDOUT
|
|
|
|
<errorcode>
|
|
|
|
28
|
|
|
|
</errorcode>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|