curl/tests/data/test1099
Daniel Stenberg 3f4b1b4ee5
tests: adjust the tftpd output to work with hyper mode
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
2021-09-01 23:40:28 +02:00

52 lines
693 B
Plaintext

<testcase>
<info>
<keywords>
TFTP
TFTP RRQ
FAILURE
</keywords>
</info>
<reply>
<data nocheck="yes">
data for %TESTNUMBER
</data>
</reply>
#
# Client-side
<client>
<server>
tftp
</server>
<name>
TFTP get first a non-existing file then an existing
</name>
<command>
tftp://%HOSTIP:%TFTPPORT/an/invalid-file tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER
</command>
</client>
#
# Verify pseudo protocol after the test has been "shot"
<verify>
<protocol>
opcode = 1
mode = octet
tsize = 0
blksize = 512
timeout = 6
filename = an/invalid-file
opcode = 1
mode = octet
tsize = 0
blksize = 512
timeout = 6
filename = /%TESTNUMBER
</protocol>
<stdout>
data for %TESTNUMBER
</stdout>
</verify>
</testcase>