From f11d3c329c335a3fb8f01cc4509e2ab7a2abec04 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Mon, 15 Jan 2007 21:06:12 +0000 Subject: Added TFTP upload tests. --- tests/data/test286 | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 tests/data/test286 (limited to 'tests/data/test286') diff --git a/tests/data/test286 b/tests/data/test286 new file mode 100644 index 000000000..d78e24f3a --- /dev/null +++ b/tests/data/test286 @@ -0,0 +1,90 @@ + + +TFTP +TFTP WRQ + + + +# +# Client-side + + +tftp + + +TFTP send of boundary case 512 byte file + + +-T log/test286.txt tftp://%HOSTIP:%TFTPPORT// --trace-ascii log/traceit + + +A chunk of data which exactly fits into +a 512 byte TFTP block, testing a boundary +condition in the TFTP transmit code. +89ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF + + + +# +# Verify pseudo protocol after the test has been "shot" + + +A chunk of data which exactly fits into +a 512 byte TFTP block, testing a boundary +condition in the TFTP transmit code. +89ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF +123456789ABCDEF + + +opcode: 2 +filename: /test286.txt +mode: octet + + -- cgit v1.2.3