Added TFTP upload tests.

This commit is contained in:
Dan Fandrich
2007-01-15 21:06:12 +00:00
parent b0d13fa4cb
commit f11d3c329c
3 changed files with 134 additions and 1 deletions

42
tests/data/test285 Normal file
View File

@@ -0,0 +1,42 @@
<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
filename: /test285.txt
mode: octet
</protocol>
</verify>