summaryrefslogtreecommitdiff
path: root/tests/data/test2070
diff options
context:
space:
mode:
authorMatthew Kerwin <matthew@kerwin.net.au>2017-11-24 22:08:05 +1000
committerDaniel Stenberg <daniel@haxx.se>2017-11-24 23:13:16 +0100
commitd7c103746cb3d446a879123e48f18e4bd8ceb314 (patch)
treeab3531239b6941a8b2056dacad00afc700394121 /tests/data/test2070
parent25634611f983824503cd708f0b65dddf028c3026 (diff)
downloadcurl-d7c103746cb3d446a879123e48f18e4bd8ceb314.tar.gz
test: add tests to ensure basic file: URLs
Diffstat (limited to 'tests/data/test2070')
-rw-r--r--tests/data/test207041
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/data/test2070 b/tests/data/test2070
new file mode 100644
index 000000000..bc3898ab3
--- /dev/null
+++ b/tests/data/test2070
@@ -0,0 +1,41 @@
+<testcase>
+<info>
+<keywords>
+FILE
+</keywords>
+</info>
+
+<reply>
+<data>
+foo
+ bar
+bar
+ foo
+moo
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+file
+</server>
+ <name>
+basic file:// file with no authority
+ </name>
+ <command>
+file:%PWD/log/test2070.txt
+</command>
+<file name="log/test2070.txt">
+foo
+ bar
+bar
+ foo
+moo
+</file>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+</verify>
+</testcase>