Added test 1063 to test an invalid large range on a file:

This commit is contained in:
Dan Fandrich
2008-08-14 19:18:01 +00:00
parent cf30b24706
commit 6e878d2ca4
2 changed files with 48 additions and 1 deletions

47
tests/data/test1063 Normal file
View File

@@ -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>