mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
3f4b1b4ee5
By making them look less like http headers, the hyper mode "tweak" doesn't interfere. Enable test 2002 and 2003 in hyper builds (and 1280 which is unrelated but should be enabled). Closes #7658
48 lines
552 B
Plaintext
48 lines
552 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>
|