aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test332
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-05-03 22:21:10 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-05-20 07:59:11 +0200
commitf94334749661f0afe0c7fcc4b65135240db77fb9 (patch)
tree026f77b6499125dd48eab9479585c51c9aaa5777 /tests/data/test332
parent2576003415625d7b5f0e390902f8097830b82275 (diff)
test332: verify the blksize fix
Diffstat (limited to 'tests/data/test332')
-rw-r--r--tests/data/test33245
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/data/test332 b/tests/data/test332
new file mode 100644
index 000000000..3688c2b08
--- /dev/null
+++ b/tests/data/test332
@@ -0,0 +1,45 @@
+<testcase>
+<info>
+<keywords>
+TFTP
+TFTP RRQ
+FAILURE
+</keywords>
+</info>
+
+<reply>
+<data>
+a chunk of
+data
+returned
+ to client
+</data>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+tftp
+</server>
+ <name>
+TFTP retrieve with blksize 400
+ </name>
+ <command>
+tftp://%HOSTIP:%TFTPPORT//332 --tftp-blksize 400
+</command>
+</client>
+
+#
+# Verify pseudo protocol after the test has been "shot"
+<verify>
+<protocol>
+opcode: 1
+mode: octet
+tsize: 0
+blksize: 400
+timeout: 6
+filename: /332
+</protocol>
+</verify>
+</testcase>