aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1017
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/test1017
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/test1017')
-rw-r--r--tests/data/test101735
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/data/test1017 b/tests/data/test1017
new file mode 100644
index 000000000..8c4c0a811
--- /dev/null
+++ b/tests/data/test1017
@@ -0,0 +1,35 @@
+<testcase>
+<info>
+<keywords>
+FILE
+</keywords>
+</info>
+# Server-side
+<reply>
+<data>
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+none
+</server>
+ <name>
+0-Y range on a file:// URL to stdout
+ </name>
+ <command>
+-r 0-3 file://localhost/%PWD/log/test1017.txt
+</command>
+<file name="log/test1017.txt">
+1234567890
+</file>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<stdout nonewline="yes">
+1234
+</stdout>
+</verify>
+</testcase>