1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 08:38:49 -05:00

test332: verify the blksize fix

This commit is contained in:
Daniel Stenberg 2019-05-03 22:21:10 +02:00
parent 2576003415
commit f943347496
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 46 additions and 1 deletions

View File

@ -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 \
\

45
tests/data/test332 Normal file
View File

@ -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>