1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-18 07:25:14 -05:00
curl/tests/data/test285
Daniel Stenberg 60c86297bf tftp tests: verify sent options too
The tftpd test server now logs all received options and thus all TFTP
test cases need to match them exactly.

Extended test 283 to use and verify --tftp-blksize.
2015-11-06 10:55:30 +01:00

48 lines
557 B
Plaintext

<testcase>
<info>
<keywords>
TFTP
TFTP WRQ
</keywords>
</info>
#
# Client-side
<client>
<server>
tftp
</server>
<name>
TFTP send
</name>
<command>
-T log/test285.txt tftp://%HOSTIP:%TFTPPORT// --trace-ascii log/traceit
</command>
<file name="log/test285.txt">
a chunk of
data
sent
to server
</file>
</client>
#
# Verify pseudo protocol after the test has been "shot"
<verify>
<upload>
a chunk of
data
sent
to server
</upload>
<protocol>
opcode: 2
mode: octet
tsize: 32
blksize: 512
timeout: 6
filename: /test285.txt
</protocol>
</verify>
</testcase>