mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
test 271, the first ever TFTP test
This commit is contained in:
parent
f5ae149338
commit
48908e4633
41
tests/data/test271
Normal file
41
tests/data/test271
Normal file
@ -0,0 +1,41 @@
|
||||
<info>
|
||||
<keywords>
|
||||
TFTP
|
||||
TFTP RRQ
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
a chunk of
|
||||
data
|
||||
returned
|
||||
to client
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
tftp
|
||||
</server>
|
||||
<name>
|
||||
TFTP retrieve
|
||||
</name>
|
||||
<command>
|
||||
tftp://%HOSTIP:%TFTPPORT/271 --trace-ascii log/traceit
|
||||
</command>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify pseudo protocol after the test has been "shot"
|
||||
<verify>
|
||||
<protocol>
|
||||
opcode: 1
|
||||
filename: /271
|
||||
mode: octet
|
||||
</protocol>
|
||||
</verify>
|
Loading…
Reference in New Issue
Block a user