From 186546f1c5ffa62526bd57deb5b9fd6e68da2a5e Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Mon, 24 Aug 2015 00:15:01 -0400 Subject: 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 --- tests/data/test1243 | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 tests/data/test1243 (limited to 'tests/data/test1243') diff --git a/tests/data/test1243 b/tests/data/test1243 new file mode 100644 index 000000000..0303a5de4 --- /dev/null +++ b/tests/data/test1243 @@ -0,0 +1,44 @@ + + + +TFTP +TFTP WRQ + + + +# +# Client-side + + +tftp + + +TFTP send without TFTP options requests + + +-T log/test1243.txt tftp://%HOSTIP:%TFTPPORT// --tftp-no-options --trace-ascii log/traceit + + +a chunk of +data +sent + to server + + + +# +# Verify pseudo protocol after the test has been "shot" + + +a chunk of +data +sent + to server + + +opcode: 2 +mode: octet +filename: /test1243.txt + + + -- cgit v1.2.3