mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 08:38:49 -05:00
51 lines
578 B
Plaintext
51 lines
578 B
Plaintext
|
<testcase>
|
||
|
<info>
|
||
|
<keywords>
|
||
|
TFTP
|
||
|
TFTP RRQ
|
||
|
mode=
|
||
|
</keywords>
|
||
|
</info>
|
||
|
|
||
|
#
|
||
|
# Server-side
|
||
|
<reply>
|
||
|
<data>
|
||
|
a chunk of
|
||
|
data
|
||
|
returned
|
||
|
to client
|
||
|
</data>
|
||
|
<datacheck>
|
||
|
a chunk of
|
||
|
data
|
||
|
returned
|
||
|
to client
|
||
|
</datacheck>
|
||
|
</reply>
|
||
|
|
||
|
#
|
||
|
# Client-side
|
||
|
<client>
|
||
|
<server>
|
||
|
tftp
|
||
|
</server>
|
||
|
<name>
|
||
|
TFTP retrieve with mode=netascii
|
||
|
</name>
|
||
|
<command>
|
||
|
"tftp://%HOSTIP:%TFTPPORT//1094;mode=netascii" --trace-ascii log/traceit
|
||
|
</command>
|
||
|
</client>
|
||
|
|
||
|
#
|
||
|
# Verify pseudo protocol after the test has been "shot"
|
||
|
<verify>
|
||
|
<protocol>
|
||
|
opcode: 1
|
||
|
filename: /1094
|
||
|
mode: netascii
|
||
|
</protocol>
|
||
|
</verify>
|
||
|
</testcase>
|