curl/tests/data/test285
Daniel Stenberg 07dd60c05b
tool_getparam: bsearch cmdline options
- the option names are now alpha sorted and lookup is a lot faster

- use case sensitive matching. It was previously case insensitive, but that
  was not documented nor tested.

- remove "partial match" feature. It was not documented, not tested and
  was always fragile as existing use could break when we add a new
  option

- lookup short options via a table

Closes #12631
2024-01-08 22:38:22 +01:00

48 lines
589 B
Plaintext

<testcase>
<info>
<keywords>
TFTP
TFTP WRQ
</keywords>
</info>
#
# Client-side
<client>
<server>
tftp
</server>
<name>
TFTP send
</name>
<command>
-T %LOGDIR/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT// --connect-timeout 549
</command>
<file name="%LOGDIR/test%TESTNUMBER.txt">
a chunk of
data
sent
to server
</file>
</client>
#
# Verify pseudo protocol after the test has been "shot"
<verify>
<upload>
a chunk of
data
sent
to server
</upload>
<protocol>
opcode = 2
mode = octet
tsize = 32
blksize = 512
timeout = 10
filename = /test%TESTNUMBER.txt
</protocol>
</verify>
</testcase>