aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-01-10 03:32:19 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-01-10 03:32:19 +0000
commit7efb955fd0cba0ba1592237f3832524a142e23a4 (patch)
tree2581d168dbcc71b51c08668995fa486e5146b697 /tests/data
parent75899741b91730b6f48ca80aedbe5fcf31f69ac2 (diff)
Added test of TFTP server error reporting.
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/Makefile.am2
-rw-r--r--tests/data/test28333
2 files changed, 34 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index e079012bc..9c87f0aa3 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -36,4 +36,4 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
test265 test266 test267 test268 test269 test270 test271 test272 test273 \
test274 test275 test524 test525 test276 test277 test526 test527 test528 \
test530 DISABLED test278 test279 test531 test280 test529 test532 test533 \
- test534 test535 test281 test537 test282 test538
+ test534 test535 test281 test537 test282 test283 test538
diff --git a/tests/data/test283 b/tests/data/test283
new file mode 100644
index 000000000..54e86fe80
--- /dev/null
+++ b/tests/data/test283
@@ -0,0 +1,33 @@
+<info>
+<keywords>
+TFTP
+TFTP RRQ
+</keywords>
+</info>
+
+#
+# Client-side
+<client>
+<server>
+tftp
+</server>
+ <name>
+TFTP retrieve on invalid file
+ </name>
+ <command>
+tftp://%HOSTIP:%TFTPPORT//invalid-file --trace-ascii log/traceit
+</command>
+</client>
+
+#
+# Verify pseudo protocol after the test has been "shot"
+<verify>
+<errorcode>
+69
+</errorcode>
+<protocol>
+opcode: 1
+filename: /invalid-file
+mode: octet
+</protocol>
+</verify>