diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-10-21 17:36:19 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-10-22 12:53:46 +0200 |
commit | 7b4d44e045d953b1513ad12bcdc4bdd5914df993 (patch) | |
tree | cbaf6fcf00e8948a9f76dbf2f61d407516cc0cfb | |
parent | a2cab81156ebd5302fa1db23e9d7cadfe627ff7e (diff) | |
download | curl-7b4d44e045d953b1513ad12bcdc4bdd5914df993.tar.gz |
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
-rw-r--r-- | tests/data/DISABLED | 1 | ||||
-rw-r--r-- | tests/data/test207 | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/data/DISABLED b/tests/data/DISABLED index 4b43e198e..51bd2c5be 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 73d363c6e..3719201ee 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 <errorcode> +%if hyper +56 +%else 18 +%endif </errorcode> </verify> </testcase> |