aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test2071
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/test2071
parent25634611f983824503cd708f0b65dddf028c3026 (diff)
test: add tests to ensure basic file: URLs
Diffstat (limited to 'tests/data/test2071')
-rw-r--r--tests/data/test207141
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/data/test2071 b/tests/data/test2071
new file mode 100644
index 000000000..997dfffeb
--- /dev/null
+++ b/tests/data/test2071
@@ -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 "127.0.0.1" hostname
+ </name>
+ <command>
+file://127.0.0.1/%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>