diff options
author | David Cook <divergentdave@gmail.com> | 2021-05-03 19:29:40 -0500 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-05-04 15:57:57 +0200 |
commit | 70cf50fb4aa5e55ca2e732716a4f455d39192088 (patch) | |
tree | 7db69ffd5696b082134b4058f471dac9b67d7e27 /tests/data/test654 | |
parent | 8419fe4d88bdbad6c64b3da70a1a976048f04c2c (diff) | |
download | curl-70cf50fb4aa5e55ca2e732716a4f455d39192088.tar.gz |
tests: ignore case of chunked hex numbers in tests
When hyper is used, it emits uppercase hexadecimal numbers for chunked
encoding lengths. Without hyper, lowercase hexadecimal numbers are used.
This change adds preprocessor statements to tests where this is an
issue, and adapts the fixtures to match.
Closes #6987
Diffstat (limited to 'tests/data/test654')
-rw-r--r-- | tests/data/test654 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/data/test654 b/tests/data/test654 index 4de65d07b..d8da0da1d 100644 --- a/tests/data/test654 +++ b/tests/data/test654 @@ -81,7 +81,11 @@ Transfer-Encoding: chunked Content-Type: multipart/form-data; boundary=----------------------------
Expect: 100-continue
+%if hyper +1AF
+%else 1af
+%endif ------------------------------
Content-Disposition: form-data; name="greeting"
Content-Type: application/X-Greeting
|