diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-11-06 10:52:19 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-11-06 10:55:30 +0100 |
commit | 60c86297bf81235c18eec68f7ddf1a30f21aa1b7 (patch) | |
tree | 75fd1e69197ddccb460751f8c2ab0bc4e592c1a7 /tests/data/test283 | |
parent | cd3aba1a5c618bb20b418ac73d3627b21fb795c8 (diff) | |
download | curl-60c86297bf81235c18eec68f7ddf1a30f21aa1b7.tar.gz |
tftp tests: verify sent options too
The tftpd test server now logs all received options and thus all TFTP
test cases need to match them exactly.
Extended test 283 to use and verify --tftp-blksize.
Diffstat (limited to 'tests/data/test283')
-rw-r--r-- | tests/data/test283 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/data/test283 b/tests/data/test283 index 922de51e0..0dc1270fd 100644 --- a/tests/data/test283 +++ b/tests/data/test283 @@ -17,7 +17,7 @@ tftp TFTP retrieve on invalid file </name> <command> -tftp://%HOSTIP:%TFTPPORT//invalid-file --trace-ascii log/traceit +tftp://%HOSTIP:%TFTPPORT//invalid-file --trace-ascii log/traceit --tftp-blksize 1024 </command> </client> @@ -29,8 +29,11 @@ tftp://%HOSTIP:%TFTPPORT//invalid-file --trace-ascii log/traceit </errorcode> <protocol> opcode: 1 -filename: /invalid-file mode: octet +tsize: 0 +blksize: 1024 +timeout: 6 +filename: /invalid-file </protocol> </verify> </testcase> |