mirror of
https://github.com/moparisthebest/curl
synced 2024-12-25 09:38:54 -05:00
e2b4df7b5e
This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
48 lines
546 B
Plaintext
48 lines
546 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
TFTP
|
|
TFTP RRQ
|
|
--local-port
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
a chunk of
|
|
data
|
|
returned
|
|
to client
|
|
</data>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
tftp
|
|
</server>
|
|
<name>
|
|
TFTP retrieve with --local-port
|
|
</name>
|
|
<command>
|
|
tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER --local-port 44444-45444
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify pseudo protocol after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
opcode: 1
|
|
mode: octet
|
|
tsize: 0
|
|
blksize: 512
|
|
timeout: 6
|
|
filename: /%TESTNUMBER
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|