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
This commit is contained in:
Daniel Stenberg 2021-10-21 17:36:19 +02:00
parent a2cab81156
commit 7b4d44e045
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 5 additions and 1 deletions

View 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

View 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>