aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1063
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-08-14 19:18:01 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-08-14 19:18:01 +0000
commit6e878d2ca4b59954f6e57bb0fe47fdc88309a2d0 (patch)
treecf19ad108d7c05ac092a542f4f50a04cbc583919 /tests/data/test1063
parentcf30b24706ee0d30f8aeae4360f39c96d329fad5 (diff)
Added test 1063 to test an invalid large range on a file:
Diffstat (limited to 'tests/data/test1063')
-rw-r--r--tests/data/test106347
1 files changed, 47 insertions, 0 deletions
diff --git a/tests/data/test1063 b/tests/data/test1063
new file mode 100644
index 000000000..cc07e6bfc
--- /dev/null
+++ b/tests/data/test1063
@@ -0,0 +1,47 @@
+<testcase>
+<info>
+<keywords>
+FILE
+Range
+FAILURE
+</keywords>
+</info>
+
+# Server-side
+<reply>
+<data>
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+none
+</server>
+<features>
+file
+large_file
+</features>
+ <name>
+Invalid large X- range on a file://
+ </name>
+# This range value is 2**32+7, which will be truncated to the valid value 7
+# if the large file support is not working correctly
+ <command>
+-r 4294967303- file://localhost/%PWD/log/test1063.txt
+</command>
+<file name="log/test1063.txt">
+1234567890
+1234567890
+</file>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<errorcode>
+36
+</errorcode>
+<stdout>
+</stdout>
+</verify>
+</testcase>