Added test 1063 to test an invalid large range on a file:
authorDan Fandrich <dan@coneharvesters.com>
Thu, 14 Aug 2008 19:18:01 +0000 (19:18 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Thu, 14 Aug 2008 19:18:01 +0000 (19:18 +0000)
tests/data/Makefile.am
tests/data/test1063 [new file with mode: 0644]

index a39fc13..f2b7250 100644 (file)
@@ -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 (file)
index 0000000..cc07e6b
--- /dev/null
@@ -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>