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:
Родитель
a2cab81156
Коммит
7b4d44e045
|
@ -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>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче