mirror of
https://github.com/curl/curl.git
synced 2026-08-25 20:13:35 +03:00
Added TFTP upload tests.
This commit is contained in:
parent
b0d13fa4cb
commit
f11d3c329c
3 changed files with 134 additions and 1 deletions
42
tests/data/test285
Normal file
42
tests/data/test285
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue