aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-10-06 13:37:12 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-10-06 13:37:12 +0000
commit9a2aed7d7ac2f8fbb79fe411b3b01d8a60f0c726 (patch)
tree3db9f63a9c500220fe9cc34c1fe1fe1d8267f5f1 /tests
parenta91a75355d863e6aeb849f0de9169234217990bc (diff)
Chih-Chung Chang reported that if you use CURLOPT_RESUME_FROM and enabled
CURLOPT_FOLLOWLOCATION, libcurl reported error if a redirect happened even if the new URL would provide the resumed file. Test case 188 added to verify the fix (together with existing test 99).
Diffstat (limited to 'tests')
-rw-r--r--tests/data/Makefile.am2
-rw-r--r--tests/data/test9910
2 files changed, 11 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index 83c76ad53..d52cb2f94 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
test512 test165 test166 test167 test168 test169 test170 test171 \
test172 test204 test205 test173 test174 test175 test176 test177 \
test513 test514 test178 test179 test180 test181 test182 test183 \
- test184 test185 test186 test187
+ test184 test185 test186 test187 test188
# The following tests have been removed from the dist since they no longer
# work. We need to fix the test suite's FTPS server first, then bring them
diff --git a/tests/data/test99 b/tests/data/test99
index a9d404ba8..adc17d22a 100644
--- a/tests/data/test99
+++ b/tests/data/test99
@@ -8,7 +8,17 @@ Connection: close
Content-Length: 13
Funny-head: yesyes
+0123456789123
</data>
+
+<datacheck>
+HTTP/1.1 404 Nah
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Connection: close
+Content-Length: 13
+Funny-head: yesyes
+
+</datacheck>
</reply>
#