curl/tests/data/test1099
Daniel Stenberg e2b4df7b5e
tests: use %TESTNUMBER instead of fixed number
This makes the tests easier to copy and relocate to other test numbers
without having to update content.

Closes #6738
2021-03-19 15:57:21 +01:00

52 lines
681 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>