mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 07:39:50 -04:00
Added test 1063 to test an invalid large range on a file:
This commit is contained in:
parent
cf30b24706
commit
6e878d2ca4
@ -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; \
|
||||
|
47
tests/data/test1063
Normal file
47
tests/data/test1063
Normal 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>
|
Loading…
x
Reference in New Issue
Block a user