2007-01-23 10:25:56 +08:00
|
|
|
<testcase>
|
2007-01-16 05:06:12 +08:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
TFTP
|
|
|
|
TFTP WRQ
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
tftp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
TFTP send
|
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-13 00:38:26 +08:00
|
|
|
-T log/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT//
|
2007-01-16 05:06:12 +08:00
|
|
|
</command>
|
2021-03-13 00:38:26 +08:00
|
|
|
<file name="log/test%TESTNUMBER.txt">
|
2007-01-16 05:06:12 +08:00
|
|
|
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>
|
2021-09-01 21:51:06 +08:00
|
|
|
opcode = 2
|
|
|
|
mode = octet
|
|
|
|
tsize = 32
|
|
|
|
blksize = 512
|
|
|
|
timeout = 6
|
|
|
|
filename = /test%TESTNUMBER.txt
|
2007-01-16 05:06:12 +08:00
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|