tests: drop unused CURL_FORCEHOST envs

Also match case of the `Debug` feature name in comments.

Closes #17972
This commit is contained in:
Viktor Szakats 2025-07-19 19:47:36 +02:00
parent e9a4f5cad0
commit 7946bbbbe2
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201
36 changed files with 37 additions and 70 deletions

View 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>

View 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>

View 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>

View 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>

View 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>

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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>

View 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

View 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

View 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

View 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

View 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

View 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>

View 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>

View 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>

View 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>

View 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>

View 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>

View 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>