From: Daniel Stenberg Date: Fri, 3 May 2019 20:21:10 +0000 (+0200) Subject: test332: verify the blksize fix X-Git-Tag: curl-7_65_0~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f94334749661f0afe0c7fcc4b65135240db77fb9;p=curl test332: verify the blksize fix --- diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc index cd99ffae7..9b26b1e0a 100644 --- a/tests/data/Makefile.inc +++ b/tests/data/Makefile.inc @@ -56,7 +56,7 @@ test289 test290 test291 test292 test293 test294 test295 test296 test297 \ test298 test299 test300 test301 test302 test303 test304 test305 test306 \ test307 test308 test309 test310 test311 test312 test313 test314 test315 \ test316 test317 test318 test319 test320 test321 test322 test323 test324 \ -test325 test326 test327 test328 test329 test330 test331 \ +test325 test326 test327 test328 test329 test330 test331 test332 \ \ test340 \ \ 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 @@ + + + +TFTP +TFTP RRQ +FAILURE + + + + + +a chunk of +data +returned + to client + + + +# +# Client-side + + +tftp + + +TFTP retrieve with blksize 400 + + +tftp://%HOSTIP:%TFTPPORT//332 --tftp-blksize 400 + + + +# +# Verify pseudo protocol after the test has been "shot" + + +opcode: 1 +mode: octet +tsize: 0 +blksize: 400 +timeout: 6 +filename: /332 + + +