1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-05 00:55:04 -05:00
curl/tests/data/test1243
Jay Satiro 186546f1c5 TFTP: add option to suppress TFTP option requests (Part 2)
- Add tests.

- Add an example to CURLOPT_TFTP_NO_OPTIONS.3.

- Add --tftp-no-options to expose CURLOPT_TFTP_NO_OPTIONS.

Bug: https://github.com/curl/curl/issues/481
2016-02-23 03:01:07 -05:00

45 lines
574 B
Plaintext

<testcase>
<info>
<keywords>
TFTP
TFTP WRQ
</keywords>
</info>
#
# Client-side
<client>
<server>
tftp
</server>
<name>
TFTP send without TFTP options requests
</name>
<command>
-T log/test1243.txt tftp://%HOSTIP:%TFTPPORT// --tftp-no-options --trace-ascii log/traceit
</command>
<file name="log/test1243.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
filename: /test1243.txt
</protocol>
</verify>
</testcase>