summaryrefslogtreecommitdiff
path: root/tests/data/test222
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/test222
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/test222')
-rw-r--r--tests/data/test2224
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/data/test222 b/tests/data/test222
index a06234a08..3f6e7c97f 100644
--- a/tests/data/test222
+++ b/tests/data/test222
@@ -186,14 +186,14 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER --compressed
# Verify data after the test has been "shot"
<verify>
<strippart>
-s/^Accept-Encoding: .*/Accept-Encoding: xxx/
+s/^Accept-Encoding: [a-zA-Z, ]*/Accept-Encoding: xxx/
</strippart>
<protocol>
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
-Accept-Encoding: xxx
+Accept-Encoding: xxx
</protocol>
</verify>