aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test283
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-11-06 10:52:19 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-11-06 10:55:30 +0100
commit60c86297bf81235c18eec68f7ddf1a30f21aa1b7 (patch)
tree75fd1e69197ddccb460751f8c2ab0bc4e592c1a7 /tests/data/test283
parentcd3aba1a5c618bb20b418ac73d3627b21fb795c8 (diff)
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/test2837
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>