From: Daniel Stenberg Date: Thu, 21 Oct 2021 15:36:19 +0000 (+0200) Subject: test207: accept a different error code for hyper X-Git-Tag: curl-7_80_0~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b4d44e045d953b1513ad12bcdc4bdd5914df993;p=thirdparty%2Fcurl.git test207: accept a different error code for hyper It returns HYPERE_UNEXPECTED_EOF for this case which we convert to the somewhat generic CURLE_RECV_ERROR. Closes #7889 --- diff --git a/tests/data/DISABLED b/tests/data/DISABLED index 4b43e198e0..51bd2c5be4 100644 --- a/tests/data/DISABLED +++ b/tests/data/DISABLED @@ -40,7 +40,6 @@ # hyper support remains EXPERIMENTAL as long as there's a test number # listed below %if hyper -207 209 213 217 diff --git a/tests/data/test207 b/tests/data/test207 index 73d363c6e0..3719201eee 100644 --- a/tests/data/test207 +++ b/tests/data/test207 @@ -58,8 +58,13 @@ Accept: */* # curl: (18) transfer closed with outstanding read data remaining # 18 == CURLE_PARTIAL_FILE +# 56 == CURLE_RECV_ERROR +%if hyper +56 +%else 18 +%endif