aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-04-24 21:46:42 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-04-24 21:46:42 +0000
commit082b0d822ca6e008ab9b2309cabd3678cdce03f7 (patch)
tree18fe6bf64dd277ee5bf2b88549f1d18be9e13d39 /tests/data
parent651b4b9efacfb3742682b8f1d8c97feb3255e2db (diff)
test 1099: "TFTP get first a non-existing file then an existing" added disabled
as things don't work right here!
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/DISABLED2
-rw-r--r--tests/data/Makefile.am2
-rw-r--r--tests/data/test109945
3 files changed, 47 insertions, 2 deletions
diff --git a/tests/data/DISABLED b/tests/data/DISABLED
index df4fd1a1c..16af58335 100644
--- a/tests/data/DISABLED
+++ b/tests/data/DISABLED
@@ -3,4 +3,4 @@
# test cases are run by runtests.pl. Just add the plain test case numbers, one
# per line.
# Lines starting with '#' letters are treated as comments.
-1097
+1099
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index d7068871e..ec27cff36 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -61,7 +61,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
test1080 test1081 test1082 test1083 test1084 test1085 test633 test634 \
test635 test636 test637 test558 test559 test1086 test1087 test1088 \
test1089 test1090 test1091 test1092 test1093 test1094 test1095 test1096 \
- test1097 test560 test561 test1098
+ test1097 test560 test561 test1098 test1099
filecheck:
@mkdir test-place; \
diff --git a/tests/data/test1099 b/tests/data/test1099
new file mode 100644
index 000000000..5c80ac5d0
--- /dev/null
+++ b/tests/data/test1099
@@ -0,0 +1,45 @@
+<testcase>
+<info>
+<keywords>
+TFTP
+TFTP RRQ
+FAILURE
+</keywords>
+</info>
+
+<reply>
+<data>
+data for 1099
+</data>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+tftp
+</server>
+ <name>
+TFTP get first a non-existing file then an existing
+ </name>
+ <command>
+tftp://%HOSTIP:%TFTPPORT/an/invalid-file tftp://%HOSTIP:%TFTPPORT//1099 --trace-ascii log/traceit
+</command>
+</client>
+
+#
+# Verify pseudo protocol after the test has been "shot"
+<verify>
+<errorcode>
+69
+</errorcode>
+<protocol>
+opcode: 1
+filename: an/invalid-file
+mode: octet
+opcode: 1
+filename: /1099
+mode: octet
+</protocol>
+</verify>
+</testcase>