summaryrefslogtreecommitdiff
path: root/tests/data/test314
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-06-02 09:45:40 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-06-02 22:59:33 +0200
commit9dc0baf5c611d46ff5136f1e32ef898b438e0aea (patch)
treee95af7e0ad5c2a858480205d46f5f42ec9bf2e2e /tests/data/test314
parentf7d1273cf9f9bc6553b30de38ed010e6c1ca3d28 (diff)
downloadcurl-9dc0baf5c611d46ff5136f1e32ef898b438e0aea.tar.gz
tests: fix Accept-Encoding strips to work with Hyper builds
The previous strip also removed the CR which turned problematic. valgrind.supp: add zstd suppression using hyper Reported-and-analyzed-by: Kevin Burke Fixes #7169 Closes #7171
Diffstat (limited to 'tests/data/test314')
-rw-r--r--tests/data/test31410
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/data/test314 b/tests/data/test314
index 5080ceabc..cdc36af21 100644
--- a/tests/data/test314
+++ b/tests/data/test314
@@ -182,22 +182,14 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER --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
+s/^Accept-Encoding: [a-zA-Z, ]*/Accept-Encoding: xxx/
</strippart>
<protocol>
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
-%if hyper
Accept-Encoding: xxx
-%else
-Accept-Encoding: xxx
-%endif
</protocol>
</verify>