]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test207: accept a different error code for hyper
authorDaniel Stenberg <daniel@haxx.se>
Thu, 21 Oct 2021 15:36:19 +0000 (17:36 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 22 Oct 2021 10:53:46 +0000 (12:53 +0200)
It returns HYPERE_UNEXPECTED_EOF for this case which we convert to the
somewhat generic CURLE_RECV_ERROR.

Closes #7889

tests/data/DISABLED
tests/data/test207

index 4b43e198e0f7d7f7e7d627da56495a359deb2831..51bd2c5be40aa4ca90afb6a520e52c5b75866381 100644 (file)
@@ -40,7 +40,6 @@
 # hyper support remains EXPERIMENTAL as long as there's a test number
 # listed below
 %if hyper
-207
 209
 213
 217
index 73d363c6e0b75c4ec1d5a20ce0eb8d591178b36a..3719201eeef1e22c05ee66a81c23af2fd34eeee9 100644 (file)
@@ -58,8 +58,13 @@ Accept: */*
 
 # curl: (18) transfer closed with outstanding read data remaining
 # 18 == CURLE_PARTIAL_FILE
+# 56 == CURLE_RECV_ERROR
 <errorcode>
+%if hyper
+56
+%else
 18
+%endif
 </errorcode>
 </verify>
 </testcase>