diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-03-11 16:05:46 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-03-11 22:45:27 +0100 |
commit | f073a427b4fcab111b3728935f8beb3a19de10f0 (patch) | |
tree | cb967856b4eb8160e4104385993974d6c2179654 /tests | |
parent | 7098f9fe3a54eae536139fed4dd320181bab6c7c (diff) | |
download | curl-f073a427b4fcab111b3728935f8beb3a19de10f0.tar.gz |
test220/314: adjust to run with Hyper
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/test220 | 8 | ||||
-rw-r--r-- | tests/data/test314 | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/data/test220 b/tests/data/test220 index 4b2e41672..67f31f1f4 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" <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> diff --git a/tests/data/test314 b/tests/data/test314 index 899200dc1..d22038a5b 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" <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> |