]> granicus.if.org Git - curl/commitdiff
added test 201, file:// with missing file
authorDaniel Stenberg <daniel@haxx.se>
Tue, 7 Aug 2001 09:16:49 +0000 (09:16 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 7 Aug 2001 09:16:49 +0000 (09:16 +0000)
tests/data/Makefile.am
tests/data/test201 [new file with mode: 0644]

index 0eeda4af490b505f634b114f8b10da8cd61c9a40..448609d5d7ef0259456a13f74d30d5aeb8d84d85 100644 (file)
@@ -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 (file)
index 0000000..f441be8
--- /dev/null
@@ -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>