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