mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
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:
parent
a2cab81156
commit
7b4d44e045
@ -40,7 +40,6 @@
|
||||
# hyper support remains EXPERIMENTAL as long as there's a test number
|
||||
# listed below
|
||||
%if hyper
|
||||
207
|
||||
209
|
||||
213
|
||||
217
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user