summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-08-07 09:16:49 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-08-07 09:16:49 +0000
commit8b2861da85ddd6797825338e108e21519b3ad4eb (patch)
tree2c3d84221199f7000379d8d186c12227efada557 /tests
parent2a7046543416822ebe6fc62b0f53b7e45e800734 (diff)
downloadcurl-8b2861da85ddd6797825338e108e21519b3ad4eb.tar.gz
added test 201, file:// with missing file
Diffstat (limited to 'tests')
-rw-r--r--tests/data/Makefile.am2
-rw-r--r--tests/data/test20122
2 files changed, 23 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index 0eeda4af4..448609d5d 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -8,4 +8,4 @@ EXTRA_DIST = \
test1 test102 test106 test13 test17 test300 test43 test8 \
test10 test103 test107 test14 test2 test33 test5 test9 \
test100 test104 test11 test15 test200 test4 test6 \
-test101 test105 test12 test16 test3 test400 test7
+test101 test105 test12 test16 test3 test400 test7 test201
diff --git a/tests/data/test201 b/tests/data/test201
new file mode 100644
index 000000000..f441be801
--- /dev/null
+++ b/tests/data/test201
@@ -0,0 +1,22 @@
+# Server-side
+<reply>
+<data>
+</data>
+</reply>
+
+# Client-side
+<client>
+ <name>
+missing file:// file
+ </name>
+ <command>
+file://localhost/%PWD/log/non-existant-file.txt
+</command>
+</test>
+
+# Verify data after the test has been "shot"
+<verify>
+<errorcode>
+37
+</errorcode>
+</verify>