Commit 60c86297 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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.
parent cd3aba1a
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -32,8 +32,11 @@ This data will not be sent
</errorcode>
<protocol>
opcode: 2
filename: /invalid-file
mode: octet
tsize: 27
blksize: 512
timeout: 6
filename: /invalid-file
</protocol>
</verify>
</testcase>
+4 −1
Original line number Diff line number Diff line
@@ -37,8 +37,11 @@ tftp://%HOSTIP:%TFTPPORT//1009 --local-port 44444-45444
<verify>
<protocol>
opcode: 1
filename: /1009
mode: octet
tsize: 0
blksize: 512
timeout: 6
filename: /1009
</protocol>
</verify>
</testcase>
+4 −1
Original line number Diff line number Diff line
@@ -37,8 +37,11 @@ tftp://%HOSTIP:%TFTPPORT//1049 --trace-ascii log/traceit --interface %CLIENTIP
<verify>
<protocol>
opcode: 1
filename: /1049
mode: octet
tsize: 0
blksize: 512
timeout: 6
filename: /1049
</protocol>
</verify>
</testcase>
+4 −1
Original line number Diff line number Diff line
@@ -37,8 +37,11 @@ TFTP retrieve with mode=i
<verify>
<protocol>
opcode: 1
filename: /1093
mode: octet
tsize: 0
blksize: 512
timeout: 6
filename: /1093
</protocol>
</verify>
</testcase>
+4 −1
Original line number Diff line number Diff line
@@ -43,8 +43,11 @@ TFTP retrieve with mode=netascii
<verify>
<protocol>
opcode: 1
filename: /1094
mode: netascii
tsize: 0
blksize: 512
timeout: 6
filename: /1094
</protocol>
</verify>
</testcase>
Loading