mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
f5b71d3a6c
This is already added by the test suite; it's not clear why all these tests had it, unless it's cargo-culting.
96 lines
1.5 KiB
Plaintext
96 lines
1.5 KiB
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
TFTP
|
|
TFTP WRQ
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
tftp
|
|
</server>
|
|
<name>
|
|
TFTP send of boundary case 512 byte file
|
|
</name>
|
|
<command>
|
|
-T log/test286.txt tftp://%HOSTIP:%TFTPPORT//
|
|
</command>
|
|
<file name="log/test286.txt">
|
|
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>
|
|
opcode: 2
|
|
mode: octet
|
|
tsize: 512
|
|
blksize: 512
|
|
timeout: 6
|
|
filename: /test286.txt
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|