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