]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests: drop unused `CURL_FORCEHOST` envs
authorViktor Szakats <commit@vsz.me>
Sat, 19 Jul 2025 17:47:36 +0000 (19:47 +0200)
committerViktor Szakats <commit@vsz.me>
Sat, 19 Jul 2025 18:35:48 +0000 (20:35 +0200)
Also match case of the `Debug` feature name in comments.

Closes #17972

36 files changed:
tests/data/test1425
tests/data/test1426
tests/data/test1908
tests/data/test1913
tests/data/test1914
tests/data/test1933
tests/data/test1934
tests/data/test1935
tests/data/test1936
tests/data/test1937
tests/data/test1938
tests/data/test1955
tests/data/test1956
tests/data/test1957
tests/data/test1958
tests/data/test1959
tests/data/test1964
tests/data/test1970
tests/data/test1971
tests/data/test1972
tests/data/test1973
tests/data/test1974
tests/data/test1975
tests/data/test2100
tests/data/test2101
tests/data/test2301
tests/data/test2302
tests/data/test2303
tests/data/test2304
tests/data/test356
tests/data/test358
tests/data/test359
tests/data/test412
tests/data/test413
tests/data/test437
tests/data/test438

index 76e96a4e2f9381ee0cfa01c011c7e5f5c52104e0..63032181b2e15d718fcba45e18219e522e4166cf 100644 (file)
@@ -31,7 +31,7 @@ Funny-head: yesyes
 http
 </server>
 
-# this test needs to be a debug build in order to fake it being a TTY output
+# this test needs to be a Debug build in order to fake it being a TTY output
 <features>
 Debug
 </features>
index 5fec3360ba11a11322683ee5447e8532975bdcfd..737c7514f1262422839c4ff44a3b0d1242ccdf75 100644 (file)
@@ -31,7 +31,7 @@ Funny-head: yesyes
 http
 </server>
 
-# this test needs to be a debug build in order to fake it being a TTY output
+# this test needs to be a Debug build in order to fake it being a TTY output
 <features>
 Debug
 </features>
index e4ec639cd81c7e5332179a95c9cb8fc955b89442..fe0b5d626ae92aaaa34d485fa91f15a021afe2b1 100644 (file)
@@ -34,7 +34,7 @@ alt-svc: h2="second.example:443"; ma=315360000;
 http
 </server>
 
-# require debug so that alt-svc can work over plain old HTTP
+# require Debug so that alt-svc can work over plain old HTTP
 <features>
 alt-svc
 Debug
@@ -43,7 +43,7 @@ Debug
 alt-svc cache save after resetting the handle
 </name>
 <setenv>
-# make debug-curl accept Alt-Svc over plain HTTP
+# make Debug-curl accept Alt-Svc over plain HTTP
 CURL_ALTSVC_HTTP="yeah"
 </setenv>
 <tool>
index b9ac2cbdfe93dab76a85144b497dd63efc8c664e..ac04f5110d01b8aeff88c3ed099f09bb122ff996 100644 (file)
@@ -19,7 +19,7 @@ REPLY SIZE 550 no such file
 ftp
 </server>
 
-# require debug so that alt-svc can work over plain old HTTP
+# require Debug so that alt-svc can work over plain old HTTP
 <name>
 FTP with NOBODY set, getting a missing file
 </name>
index 1aa3e48c01cfab7f56c9c9afbafb6379f6322e82..7aee1807b82a39fd46407f9ad4c5ac0120e1e059 100644 (file)
@@ -20,7 +20,7 @@ REPLY MDTM 550 no such file
 ftp
 </server>
 
-# require debug so that alt-svc can work over plain old HTTP
+# require Debug so that alt-svc can work over plain old HTTP
 <name>
 FTP with NOBODY and FILETIME set, getting a missing file
 </name>
index 2486b8ccbc05709eb005d1a62b4a5a2fee29da84..ef4013caa45fdd4325e105c85fe90154c9a58855 100644 (file)
@@ -32,7 +32,7 @@ Content-Length: 0
 <server>
 http
 </server>
-# this relies on the debug feature which allows tests to set the time
+# this relies on the Debug feature which allows tests to set the time
 <features>
 SSL
 Debug
index 853817e2dc68b6b3f21cf40370b9aaf8e264d482..86553a46338ba32cf7f145afaec1e2627e582db2 100644 (file)
@@ -32,7 +32,7 @@ Content-Length: 0
 <server>
 http
 </server>
-# this relies on the debug feature which allows tests to set the time
+# this relies on the Debug feature which allows tests to set the time
 <features>
 SSL
 Debug
index 6cb67ab8423c0d359dd57e24e3b7390d64e32385..26701aee8d4bb01dea966e410bd8e1fced431ae4 100644 (file)
@@ -32,7 +32,7 @@ Content-Length: 0
 <server>
 http
 </server>
-# this relies on the debug feature which allows tests to set the time
+# this relies on the Debug feature which allows tests to set the time
 <features>
 SSL
 Debug
index 6e762493fe43f98ef851db56a36c86e2d19c8fe2..0d100c55e1dcaa6dda5942c31ed8f8af0120fb48 100644 (file)
@@ -32,7 +32,7 @@ Content-Length: 0
 <server>
 http
 </server>
-# this relies on the debug feature which allows tests to set the time
+# this relies on the Debug feature which allows tests to set the time
 <features>
 SSL
 Debug
index fc50a06dd8b71e8553b27240ff2b9dacc498739c..b1bd518a9fe9b7b5c916333b1f38314c26150697 100644 (file)
@@ -33,7 +33,7 @@ Content-Length: 0
 <server>
 http
 </server>
-# this relies on the debug feature which allows tests to set the time
+# this relies on the Debug feature which allows tests to set the time
 <features>
 SSL
 Debug
index 77e68789d1b6ca03b0607b7d5cc4117a36e93534..c06306c4ca1e2d54d1610cc3937327b1b6da95d2 100644 (file)
@@ -33,7 +33,7 @@ Content-Length: 0
 <server>
 http
 </server>
-# this relies on the debug feature which allows tests to set the time
+# this relies on the Debug feature which allows tests to set the time
 <features>
 SSL
 Debug
index 35f87cdad704b44a6e708702f073714d7c8fccfc..67de2a1e8d97186186e3253708f500c5d2b3c243 100644 (file)
@@ -32,16 +32,13 @@ Content-Length: 0
 <server>
 http
 </server>
-# this relies on the debug feature which allows tests to set the time
+# this relies on the Debug feature which allows tests to set the time
 <features>
 SSL
 Debug
 crypto
 aws
 </features>
-<setenv>
-CURL_FORCEHOST=1
-</setenv>
 
 <name>
 HTTP AWS_SIGV4 without X-Xxx-Content-Sha256
index b7ee7b728063a6e1863b980337eec869f9bf9814..84b2a81e0285761416d5026d867fe27a4cfcce41 100644 (file)
@@ -32,16 +32,13 @@ Content-Length: 0
 <server>
 http
 </server>
-# this relies on the debug feature which allows tests to set the time
+# this relies on the Debug feature which allows tests to set the time
 <features>
 SSL
 Debug
 crypto
 aws
 </features>
-<setenv>
-CURL_FORCEHOST=1
-</setenv>
 
 <name>
 HTTP AWS_SIGV4 with X-Xxx-Content-Sha256 of empty payload
index b024def6c020c0c6c819abb0f426fd98073dde9a..2f538cc8e2fa0a1a215a1c2849e40f4ba08e045c 100644 (file)
@@ -32,16 +32,13 @@ Content-Length: 0
 <server>
 http
 </server>
-# this relies on the debug feature which allows tests to set the time
+# this relies on the Debug feature which allows tests to set the time
 <features>
 SSL
 Debug
 crypto
 aws
 </features>
-<setenv>
-CURL_FORCEHOST=1
-</setenv>
 
 <name>
 HTTP AWS_SIGV4 with X-Xxx-Content-Sha256 of arbitrary payload
index 1c59d4a5219c56088f26ff8f3aa4b729a3acc53d..27be746d37ef0bf474974e74e2118e54381daa7c 100644 (file)
@@ -32,16 +32,13 @@ Content-Length: 0
 <server>
 http
 </server>
-# this relies on the debug feature which allows tests to set the time
+# this relies on the Debug feature which allows tests to set the time
 <features>
 SSL
 Debug
 crypto
 aws
 </features>
-<setenv>
-CURL_FORCEHOST=1
-</setenv>
 
 <name>
 HTTP AWS_SIGV4 with X-Xxx-Content-Sha256 with whitespace
index 11d898708034be66e5bc9552ee75783a353719dd..c6c15cadf48548730124567891375a629cb026d7 100644 (file)
@@ -32,16 +32,13 @@ Content-Length: 0
 <server>
 http
 </server>
-# this relies on the debug feature which allows tests to set the time
+# this relies on the Debug feature which allows tests to set the time
 <features>
 SSL
 Debug
 crypto
 aws
 </features>
-<setenv>
-CURL_FORCEHOST=1
-</setenv>
 
 <name>
 HTTP AWS_SIGV4 with long value for X-Xxx-Content-Sha256
index f49d7894c7548ce399f0ea9119b35063c63ded73..cd148faf7108fbe1dc09e2df5b8191e5c2fed162 100644 (file)
@@ -32,7 +32,7 @@ Content-Length: 0
 <server>
 http
 </server>
-# this relies on the debug feature which allows tests to set the time
+# this relies on the Debug feature which allows tests to set the time
 <features>
 SSL
 crypto
index 673d3101151690b25f5352e88fea1b08710654d8..106a0e31627462a6c29d1afd4524fb339c56616d 100644 (file)
@@ -32,16 +32,13 @@ Content-Length: 0
 <server>
 http
 </server>
-# this relies on the debug feature which allows tests to set the time
+# this relies on the Debug feature which allows tests to set the time
 <features>
 SSL
 Debug
 crypto
 aws
 </features>
-<setenv>
-CURL_FORCEHOST=1
-</setenv>
 
 <name>
 HTTP AWS_SIGV4 for AWS S3: UPLOAD with INFILESIZE=0
index 85a1eed81024ad9fbba62fc44bc888bd73609213..d6f550793323e2270c1f33dbe436b6f33375e175 100644 (file)
@@ -25,16 +25,13 @@ Content-Length: 0
 <server>
 http
 </server>
-# this relies on the debug feature which allows tests to set the time
+# this relies on the Debug feature which allows tests to set the time
 <features>
 SSL
 Debug
 crypto
 aws
 </features>
-<setenv>
-CURL_FORCEHOST=1
-</setenv>
 
 <name>
 HTTP AWS_SIGV4 for AWS S3: UPLOAD with unknown INFILESIZE
index c5d9c4233022a3467597a641342a58c37244085c..1fb52b4e50fc30f2938220977a6166999b5386d4 100644 (file)
@@ -32,16 +32,13 @@ Content-Length: 0
 <server>
 http
 </server>
-# this relies on the debug feature which allows tests to set the time
+# this relies on the Debug feature which allows tests to set the time
 <features>
 SSL
 Debug
 crypto
 aws
 </features>
-<setenv>
-CURL_FORCEHOST=1
-</setenv>
 
 <name>
 HTTP AWS_SIGV4 for AWS S3: MIMEPOST
index 9e78cc4ad45d8ee5dfc08970bcb1c878e7e24862..094810cf13eb51054222175cdb8f6690fafd5647 100644 (file)
@@ -32,16 +32,13 @@ Content-Length: 0
 <server>
 http
 </server>
-# this relies on the debug feature which allows tests to set the time
+# this relies on the Debug feature which allows tests to set the time
 <features>
 SSL
 Debug
 crypto
 aws
 </features>
-<setenv>
-CURL_FORCEHOST=1
-</setenv>
 
 <name>
 HTTP AWS_SIGV4 for AWS S3: POSTFIELDS
index 48eb9da20a74584b73939403662df1dcf71b4a40..b184ca4b5afa388e2a717d77aa355b70b5fd178a 100644 (file)
@@ -32,16 +32,13 @@ Content-Length: 0
 <server>
 http
 </server>
-# this relies on the debug feature which allows tests to set the time
+# this relies on the Debug feature which allows tests to set the time
 <features>
 SSL
 Debug
 crypto
 aws
 </features>
-<setenv>
-CURL_FORCEHOST=1
-</setenv>
 
 <name>
 HTTP AWS_SIGV4 for AWS S3: GET
index 29b9e5ebe8d12cd7dc14ae27cffa25acd27df1be..1e980c5a82ccd7e082d3328d8bd8dbbcb3e2d496 100644 (file)
@@ -25,16 +25,13 @@ Content-Length: 0
 <server>
 http
 </server>
-# this relies on the debug feature which allows tests to set the time
+# this relies on the Debug feature which allows tests to set the time
 <features>
 SSL
 Debug
 crypto
 aws
 </features>
-<setenv>
-CURL_FORCEHOST=1
-</setenv>
 
 <name>
 HTTP AWS_SIGV4 for AWS S3: UPLOAD with given x-amz-content-sha256
index 69ed43466cff9e1752777a9debd65c38d3a41c61..efe54a6bc70069a3bf2e8fc0bcc1776fbe7bfe30 100644 (file)
@@ -43,7 +43,7 @@ Funny-head: yesyes
 http
 </server>
 
-# requires debug so that it can use the DoH server without https
+# requires Debug so that it can use the DoH server without https
 # requires IPv6 so that we can assume and compare both DoH requests
 
 <features>
index 9402adfabfc8aa24fb4461d8d39d12fde3ff50be..3ca33cf89f3fd05de1dfe118e076b4355edc5bb6 100644 (file)
@@ -23,7 +23,7 @@ idle
 http
 </server>
 
-# requires debug so that it can use the DoH server without https
+# requires Debug so that it can use the DoH server without https
 
 <features>
 Debug
index cc728d89a8053b58dd3b820f35d6ed26ac021bfd..61079d28c0bd5e2b4e564227dbb998f9a73e18f9 100644 (file)
@@ -27,7 +27,7 @@ upgrade
 #
 # Client-side
 <client>
-# require debug for the forced CURL_ENTROPY
+# require Debug for the forced CURL_ENTROPY
 <features>
 Debug
 ws
index 01a867536964e8f4f999ab25ff61d790024157fa..52887e8b7dc16c60b4c062e63dfa5345c3996d5f 100644 (file)
@@ -27,7 +27,7 @@ upgrade
 #
 # Client-side
 <client>
-# require debug for the forced CURL_ENTROPY
+# require Debug for the forced CURL_ENTROPY
 <features>
 Debug
 ws
index f6ed9a5f670e6107e8c1981cbe7673a4114fccbd..ab1edb2f57182e2bcda2851db787c073476e022b 100644 (file)
@@ -20,7 +20,7 @@ hello
 #
 # Client-side
 <client>
-# require debug for the forced CURL_ENTROPY
+# require Debug for the forced CURL_ENTROPY
 <features>
 Debug
 ws
index 7a0324c50ffe5a28fabb4fa2add2cebe37e7bdf0..a141f52ccc63473b64bddf7a2f337fe052745c70 100644 (file)
@@ -26,7 +26,7 @@ upgrade
 #
 # Client-side
 <client>
-# require debug for the forced CURL_ENTROPY
+# require Debug for the forced CURL_ENTROPY
 <features>
 Debug
 ws
index 1d441d7e7362761256cd0dd610994b6cf97d2158..8d7cd45b17daf6ae0b5376e80b16be0d8ad097c6 100644 (file)
@@ -39,7 +39,7 @@ http
 parse incoming Alt-Svc and save to file
 </name>
 <setenv>
-# make debug-curl accept Alt-Svc over plain HTTP
+# make Debug-curl accept Alt-Svc over plain HTTP
 CURL_ALTSVC_HTTP="yeah"
 </setenv>
 <command>
index 9db8b66f131ac73351b17db3a1787b09e897ed7e..327662b41ba8b892f64ec933937cd5b84a1f6867 100644 (file)
@@ -40,7 +40,7 @@ http/2
 HTTPS GET translated by alt-svc lookup to HTTP/2 GET
 </name>
 <setenv>
-# make debug-curl accept Alt-Svc over plain HTTP
+# make Debug-curl accept Alt-Svc over plain HTTP
 CURL_ALTSVC_HTTP="yeah"
 </setenv>
 <command>
index 2b7e52ce8e07c400277dea51d1b7df79bb5671b5..2dd898118fa989e01bf08032bdf47bb43ceb28df 100644 (file)
@@ -40,7 +40,7 @@ http/2
 HTTPS GET translated by alt-svc lookup to HTTP/2 GET
 </name>
 <setenv>
-# make debug-curl accept Alt-Svc over plain HTTP
+# make Debug-curl accept Alt-Svc over plain HTTP
 CURL_ALTSVC_HTTP="yeah"
 </setenv>
 <command>
index 5923054fc7db6c54eae771476ba2bda775f72b38..4c90c98ec1e0c2cd4b42ad7f7520752be8715643 100644 (file)
@@ -37,7 +37,7 @@ http
 alt-svc using host name with trailing dot in URL
 </name>
 <setenv>
-# make debug-curl accept Alt-Svc over plain HTTP
+# make Debug-curl accept Alt-Svc over plain HTTP
 CURL_ALTSVC_HTTP="yeah"
 </setenv>
 <command>
index e0aec1eaada05d5959a6374c285df7d2f1578516..913a444d9ff24c7f341f66f241bcffe035c77966 100644 (file)
@@ -37,7 +37,7 @@ http
 alt-svc using host name with trailing dot on host from file
 </name>
 <setenv>
-# make debug-curl accept Alt-Svc over plain HTTP
+# make Debug-curl accept Alt-Svc over plain HTTP
 CURL_ALTSVC_HTTP="yeah"
 </setenv>
 <command>
index 0f781e0b9cc7d6e8565613810be984c963798f91..1322fb05946b1660a3d120700e92ec26f00d5a51 100644 (file)
@@ -37,7 +37,7 @@ http
 Alt-Svc to numerical IPv6 address
 </name>
 <setenv>
-# make debug-curl accept Alt-Svc over plain HTTP
+# make Debug-curl accept Alt-Svc over plain HTTP
 CURL_ALTSVC_HTTP="yeah"
 </setenv>
 <command>
index aad056aeec21702408357bbb784235031b458330..b07b4ccd827e58fc21320644ecad9e6980b40610 100644 (file)
@@ -40,7 +40,7 @@ http-ipv6
 HTTPS IPv4 GET translated by alt-svc to IPv6 address
 </name>
 <setenv>
-# make debug-curl accept Alt-Svc over plain HTTP
+# make Debug-curl accept Alt-Svc over plain HTTP
 CURL_ALTSVC_HTTP="yeah"
 </setenv>
 <command>