56 lines
625 B
Plaintext
56 lines
625 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//%TESTNUMBER;mode=netascii"
|
||
|
</command>
|
||
|
</client>
|
||
|
|
||
|
#
|
||
|
# Verify pseudo protocol after the test has been "shot"
|
||
|
<verify>
|
||
|
<strip>
|
||
|
^timeout = [5-6]$
|
||
|
</strip>
|
||
|
<protocol>
|
||
|
opcode = 1
|
||
|
mode = netascii
|
||
|
tsize = 0
|
||
|
blksize = 512
|
||
|
filename = /%TESTNUMBER
|
||
|
</protocol>
|
||
|
</verify>
|
||
|
</testcase>
|