test220/314: adjust to run with Hyper
This commit is contained in:
Родитель
7098f9fe3a
Коммит
f073a427b4
|
@ -55,14 +55,22 @@ http://%HOSTIP:%HTTPPORT/220 --compressed
|
|||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strippart>
|
||||
%if hyper
|
||||
s/^Accept-Encoding: .*/Accept-Encoding: xxx
/
|
||||
%else
|
||||
s/^Accept-Encoding: .*/Accept-Encoding: xxx/
|
||||
%endif
|
||||
</strippart>
|
||||
<protocol>
|
||||
GET /220 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
%if hyper
|
||||
Accept-Encoding: xxx
|
||||
%else
|
||||
Accept-Encoding: xxx
|
||||
%endif
|
||||
|
||||
</protocol>
|
||||
</verify>
|
||||
|
|
|
@ -182,14 +182,22 @@ http://%HOSTIP:%HTTPPORT/314 --compressed
|
|||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strippart>
|
||||
%if hyper
|
||||
s/^Accept-Encoding: .*/Accept-Encoding: xxx
/
|
||||
%else
|
||||
s/^Accept-Encoding: .*/Accept-Encoding: xxx/
|
||||
%endif
|
||||
</strippart>
|
||||
<protocol>
|
||||
GET /314 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
%if hyper
|
||||
Accept-Encoding: xxx
|
||||
%else
|
||||
Accept-Encoding: xxx
|
||||
%endif
|
||||
|
||||
</protocol>
|
||||
</verify>
|
||||
|
|
Загрузка…
Ссылка в новой задаче