]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test220/314: adjust to run with Hyper
authorDaniel Stenberg <daniel@haxx.se>
Thu, 11 Mar 2021 15:05:46 +0000 (16:05 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 11 Mar 2021 21:45:27 +0000 (22:45 +0100)
tests/data/test220
tests/data/test314

index 4b2e41672d086d7d04e73fe8ebde74bd5b54587f..67f31f1f470f2d98665c20c05b62e3f838f2b681 100644 (file)
@@ -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\r/
+%else
 s/^Accept-Encoding: .*/Accept-Encoding: xxx/
+%endif
 </strippart>
 <protocol>
 GET /220 HTTP/1.1\r
 Host: %HOSTIP:%HTTPPORT\r
 User-Agent: curl/%VERSION\r
 Accept: */*\r
+%if hyper
+Accept-Encoding: xxx\r
+%else
 Accept-Encoding: xxx
+%endif
 \r
 </protocol>
 </verify>
index 899200dc19ab276f75296cdb8d9d98e5b4d872b3..d22038a5b4908d6c66660e9da81b382edab128aa 100644 (file)
@@ -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\r/
+%else
 s/^Accept-Encoding: .*/Accept-Encoding: xxx/
+%endif
 </strippart>
 <protocol>
 GET /314 HTTP/1.1\r
 Host: %HOSTIP:%HTTPPORT\r
 User-Agent: curl/%VERSION\r
 Accept: */*\r
+%if hyper
+Accept-Encoding: xxx\r
+%else
 Accept-Encoding: xxx
+%endif
 \r
 </protocol>
 </verify>