aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1018
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-01-11 14:20:41 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-01-11 14:20:41 +0000
commit08adf679691006a8fc45fca07c7a10e6a458283e (patch)
treee63dcc718a803ed4653d7eba24c1a143cef52475 /tests/data/test1018
parente2c817731a6abd94c1946e855938ec5f12167c31 (diff)
Daniel Egger made CURLOPT_RANGE work on file:// URLs the very same way it
already worked for FTP:// URLs
Diffstat (limited to 'tests/data/test1018')
-rw-r--r--tests/data/test101835
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/data/test1018 b/tests/data/test1018
new file mode 100644
index 000000000..c66dc663a
--- /dev/null
+++ b/tests/data/test1018
@@ -0,0 +1,35 @@
+<testcase>
+<info>
+<keywords>
+FILE
+</keywords>
+</info>
+
+<reply>
+<data>
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+none
+</server>
+ <name>
+X-X range on a file:// URL to stdout
+ </name>
+ <command>
+-r 4-4 file://localhost/%PWD/log/test1018.txt
+</command>
+<file name="log/test1018.txt">
+1234567890
+</file>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<stdout nonewline="yes">
+5
+</stdout>
+</verify>
+</testcase>