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
Родитель a2cab81156
Коммит 7b4d44e045
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 5CC908FDB71E12C2
2 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -40,7 +40,6 @@
# hyper support remains EXPERIMENTAL as long as there's a test number # hyper support remains EXPERIMENTAL as long as there's a test number
# listed below # listed below
%if hyper %if hyper
207
209 209
213 213
217 217

Просмотреть файл

@ -58,8 +58,13 @@ Accept: */*
# curl: (18) transfer closed with outstanding read data remaining # curl: (18) transfer closed with outstanding read data remaining
# 18 == CURLE_PARTIAL_FILE # 18 == CURLE_PARTIAL_FILE
# 56 == CURLE_RECV_ERROR
<errorcode> <errorcode>
%if hyper
56
%else
18 18
%endif
</errorcode> </errorcode>
</verify> </verify>
</testcase> </testcase>