mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
60c86297bf
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.
48 lines
563 B
Plaintext
48 lines
563 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
TFTP
|
|
TFTP RRQ
|
|
--interface
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
a chunk of
|
|
data
|
|
returned
|
|
to client
|
|
</data>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
tftp
|
|
</server>
|
|
<name>
|
|
TFTP retrieve with localhost --interface
|
|
</name>
|
|
<command>
|
|
tftp://%HOSTIP:%TFTPPORT//1049 --trace-ascii log/traceit --interface %CLIENTIP
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify pseudo protocol after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
opcode: 1
|
|
mode: octet
|
|
tsize: 0
|
|
blksize: 512
|
|
timeout: 6
|
|
filename: /1049
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|