summaryrefslogtreecommitdiff
path: root/tests/data/test654
diff options
context:
space:
mode:
authorDavid Cook <divergentdave@gmail.com>2021-05-03 19:29:40 -0500
committerDaniel Stenberg <daniel@haxx.se>2021-05-04 15:57:57 +0200
commit70cf50fb4aa5e55ca2e732716a4f455d39192088 (patch)
tree7db69ffd5696b082134b4058f471dac9b67d7e27 /tests/data/test654
parent8419fe4d88bdbad6c64b3da70a1a976048f04c2c (diff)
downloadcurl-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/test6544
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