From 3156745120f3be1286bb3f3c1543230dcd0f7553 Mon Sep 17 00:00:00 2001 From: Carlos Henrique Lima Melara Date: Fri, 1 May 2026 18:19:06 -0300 Subject: [PATCH] tests: mark some additional tests uppercase-hex sensitive Since 8.20.0, three more tests started to fail because of the case used to represent hex digits. Fixes: #440 --- tests.json | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/tests.json b/tests.json index 897b48d5..4740249b 100644 --- a/tests.json +++ b/tests.json @@ -764,12 +764,33 @@ "query=user=me" ] }, + "excludes": [ + "uppercase-hex" + ], "expected": { "stdout": "https://curl.se/hello?user%3dme\n", "stderr": "", "returncode": 0 } }, + { + "input": { + "arguments": [ + "--url", + "https://curl.se/hello", + "--set", + "query=user=me" + ] + }, + "required": [ + "uppercase-hex" + ], + "expected": { + "stdout": "https://curl.se/hello?user%3Dme\n", + "stderr": "", + "returncode": 0 + } + }, { "input": { "arguments": [ @@ -2183,12 +2204,37 @@ "query:=a&b&a%26b" ] }, + "excludes": [ + "uppercase-hex" + ], "expected": { "stdout": "http://localhost/ABC%5c%5c?a&b&a%26b\n", "returncode": 0, "stderr": "" } }, + { + "input": { + "arguments": [ + "-s", + "scheme:=http", + "-s", + "host:=localhost", + "-s", + "path:=/ABC%5C%5C", + "-s", + "query:=a&b&a%26b" + ] + }, + "required": [ + "uppercase-hex" + ], + "expected": { + "stdout": "http://localhost/ABC%5C%5C?a&b&a%26b\n", + "returncode": 0, + "stderr": "" + } + }, { "input": { "arguments": [ @@ -2891,12 +2937,32 @@ "path=%61" ] }, + "excludes": [ + "uppercase-hex" + ], "expected": { "stdout": "https://example.com/one/tao/%2fB/%2561\n", "stderr": "", "returncode": 0 } }, + { + "input": { + "arguments": [ + "https://example.com/one/t%61o/%2F%42/", + "--append", + "path=%61" + ] + }, + "required": [ + "uppercase-hex" + ], + "expected": { + "stdout": "https://example.com/one/tao/%2FB/%2561\n", + "stderr": "", + "returncode": 0 + } + }, { "input": { "arguments": [