aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test284
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-01-10 23:40:22 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-01-10 23:40:22 +0000
commit5ec5b95f5494477e642b56539a617934bcaaf57b (patch)
tree62c2b6fe699c5fe1498f347d13234f8d7a114e09 /tests/data/test284
parent9e61c904acb523aae971dcf9fbe447de90f39fbb (diff)
Added test for TFTP retrieve of boundary case 512 byte file.
Diffstat (limited to 'tests/data/test284')
-rw-r--r--tests/data/test28465
1 files changed, 65 insertions, 0 deletions
diff --git a/tests/data/test284 b/tests/data/test284
new file mode 100644
index 000000000..f04fef589
--- /dev/null
+++ b/tests/data/test284
@@ -0,0 +1,65 @@
+<info>
+<keywords>
+TFTP
+TFTP RRQ
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+<data>
+A chunk of data which exactly fits into
+a 512 byte TFTP block, testing a boundary
+condition in the TFTP receive code.
+789ABCDEF
+123456789ABCDEF
+123456789ABCDEF
+123456789ABCDEF
+123456789ABCDEF
+123456789ABCDEF
+123456789ABCDEF
+123456789ABCDEF
+123456789ABCDEF
+123456789ABCDEF
+123456789ABCDEF
+123456789ABCDEF
+123456789ABCDEF
+123456789ABCDEF
+123456789ABCDEF
+123456789ABCDEF
+123456789ABCDEF
+123456789ABCDEF
+123456789ABCDEF
+123456789ABCDEF
+123456789ABCDEF
+123456789ABCDEF
+123456789ABCDEF
+123456789ABCDEF
+123456789ABCDEF
+</data>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+tftp
+</server>
+ <name>
+TFTP retrieve of boundary case 512 byte file
+ </name>
+ <command>
+tftp://%HOSTIP:%TFTPPORT//284 --trace-ascii log/traceit
+</command>
+</client>
+
+#
+# Verify pseudo protocol after the test has been "shot"
+<verify>
+<protocol>
+opcode: 1
+filename: /284
+mode: octet
+</protocol>
+</verify>