From 7b4d44e045d953b1513ad12bcdc4bdd5914df993 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 21 Oct 2021 17:36:19 +0200 Subject: [PATCH] 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 --- tests/data/DISABLED | 1 - tests/data/test207 | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.47.3