From f073a427b4fcab111b3728935f8beb3a19de10f0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 11 Mar 2021 16:05:46 +0100 Subject: [PATCH] test220/314: adjust to run with Hyper --- tests/data/test220 | 8 ++++++++ tests/data/test314 | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/tests/data/test220 b/tests/data/test220 index 4b2e41672d..67f31f1f47 100644 --- a/tests/data/test220 +++ b/tests/data/test220 @@ -55,14 +55,22 @@ http://%HOSTIP:%HTTPPORT/220 --compressed # Verify data after the test has been "shot" +%if hyper +s/^Accept-Encoding: .*/Accept-Encoding: xxx / +%else s/^Accept-Encoding: .*/Accept-Encoding: xxx/ +%endif GET /220 HTTP/1.1 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */* +%if hyper +Accept-Encoding: xxx +%else Accept-Encoding: xxx +%endif diff --git a/tests/data/test314 b/tests/data/test314 index 899200dc19..d22038a5b4 100644 --- a/tests/data/test314 +++ b/tests/data/test314 @@ -182,14 +182,22 @@ http://%HOSTIP:%HTTPPORT/314 --compressed # Verify data after the test has been "shot" +%if hyper +s/^Accept-Encoding: .*/Accept-Encoding: xxx / +%else s/^Accept-Encoding: .*/Accept-Encoding: xxx/ +%endif GET /314 HTTP/1.1 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */* +%if hyper +Accept-Encoding: xxx +%else Accept-Encoding: xxx +%endif