1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 00:28:48 -05:00

test220/314: adjust to run with Hyper

This commit is contained in:
Daniel Stenberg 2021-03-11 16:05:46 +01:00
parent 7098f9fe3a
commit f073a427b4
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 16 additions and 0 deletions

View File

@ -55,14 +55,22 @@ http://%HOSTIP:%HTTPPORT/220 --compressed
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strippart> <strippart>
%if hyper
s/^Accept-Encoding: .*/Accept-Encoding: xxx /
%else
s/^Accept-Encoding: .*/Accept-Encoding: xxx/ s/^Accept-Encoding: .*/Accept-Encoding: xxx/
%endif
</strippart> </strippart>
<protocol> <protocol>
GET /220 HTTP/1.1 GET /220 HTTP/1.1
Host: %HOSTIP:%HTTPPORT Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION User-Agent: curl/%VERSION
Accept: */* Accept: */*
%if hyper
Accept-Encoding: xxx
%else
Accept-Encoding: xxx Accept-Encoding: xxx
%endif
</protocol> </protocol>
</verify> </verify>

View File

@ -182,14 +182,22 @@ http://%HOSTIP:%HTTPPORT/314 --compressed
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strippart> <strippart>
%if hyper
s/^Accept-Encoding: .*/Accept-Encoding: xxx /
%else
s/^Accept-Encoding: .*/Accept-Encoding: xxx/ s/^Accept-Encoding: .*/Accept-Encoding: xxx/
%endif
</strippart> </strippart>
<protocol> <protocol>
GET /314 HTTP/1.1 GET /314 HTTP/1.1
Host: %HOSTIP:%HTTPPORT Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION User-Agent: curl/%VERSION
Accept: */* Accept: */*
%if hyper
Accept-Encoding: xxx
%else
Accept-Encoding: xxx Accept-Encoding: xxx
%endif
</protocol> </protocol>
</verify> </verify>