aboutsummaryrefslogtreecommitdiff
path: root/tests/data
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
parentcf30b24706ee0d30f8aeae4360f39c96d329fad5 (diff)
Added test 1063 to test an invalid large range on a file:
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/Makefile.am2
-rw-r--r--tests/data/test106347
2 files changed, 48 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index a39fc13eb..f2b725001 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -55,7 +55,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
test1033 test539 test1034 test1035 test1036 test1037 test1038 test1039 \
test1040 test1041 test1042 test1043 test1044 test1045 test1046 test1047 \
test1048 test1049 test1050 test1051 test1052 test1053 test1054 test1055 \
- test1056 test1057 test1058 test1059 test1060 test1061 test1062
+ test1056 test1057 test1058 test1059 test1060 test1061 test1062 test1063
filecheck:
@mkdir test-place; \
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>