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 http
</server> </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> <features>
Debug Debug
</features> </features>

View file

@ -31,7 +31,7 @@ Funny-head: yesyes
http http
</server> </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> <features>
Debug Debug
</features> </features>

View file

@ -34,7 +34,7 @@ alt-svc: h2="second.example:443"; ma=315360000;
http http
</server> </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> <features>
alt-svc alt-svc
Debug Debug
@ -43,7 +43,7 @@ Debug
alt-svc cache save after resetting the handle alt-svc cache save after resetting the handle
</name> </name>
<setenv> <setenv>
# make debug-curl accept Alt-Svc over plain HTTP # make Debug-curl accept Alt-Svc over plain HTTP
CURL_ALTSVC_HTTP="yeah" CURL_ALTSVC_HTTP="yeah"
</setenv> </setenv>
<tool> <tool>

View file

@ -19,7 +19,7 @@ REPLY SIZE 550 no such file
ftp ftp
</server> </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> <name>
FTP with NOBODY set, getting a missing file FTP with NOBODY set, getting a missing file
</name> </name>

View file

@ -20,7 +20,7 @@ REPLY MDTM 550 no such file
ftp ftp
</server> </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> <name>
FTP with NOBODY and FILETIME set, getting a missing file FTP with NOBODY and FILETIME set, getting a missing file
</name> </name>

View file

@ -32,7 +32,7 @@ Content-Length: 0
<server> <server>
http http
</server> </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> <features>
SSL SSL
Debug Debug

View file

@ -32,7 +32,7 @@ Content-Length: 0
<server> <server>
http http
</server> </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> <features>
SSL SSL
Debug Debug

View file

@ -32,7 +32,7 @@ Content-Length: 0
<server> <server>
http http
</server> </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> <features>
SSL SSL
Debug Debug

View file

@ -32,7 +32,7 @@ Content-Length: 0
<server> <server>
http http
</server> </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> <features>
SSL SSL
Debug Debug

View file

@ -33,7 +33,7 @@ Content-Length: 0
<server> <server>
http http
</server> </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> <features>
SSL SSL
Debug Debug

View file

@ -33,7 +33,7 @@ Content-Length: 0
<server> <server>
http http
</server> </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> <features>
SSL SSL
Debug Debug

View file

@ -32,16 +32,13 @@ Content-Length: 0
<server> <server>
http http
</server> </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> <features>
SSL SSL
Debug Debug
crypto crypto
aws aws
</features> </features>
<setenv>
CURL_FORCEHOST=1
</setenv>
<name> <name>
HTTP AWS_SIGV4 without X-Xxx-Content-Sha256 HTTP AWS_SIGV4 without X-Xxx-Content-Sha256

View file

@ -32,16 +32,13 @@ Content-Length: 0
<server> <server>
http http
</server> </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> <features>
SSL SSL
Debug Debug
crypto crypto
aws aws
</features> </features>
<setenv>
CURL_FORCEHOST=1
</setenv>
<name> <name>
HTTP AWS_SIGV4 with X-Xxx-Content-Sha256 of empty payload HTTP AWS_SIGV4 with X-Xxx-Content-Sha256 of empty payload

View file

@ -32,16 +32,13 @@ Content-Length: 0
<server> <server>
http http
</server> </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> <features>
SSL SSL
Debug Debug
crypto crypto
aws aws
</features> </features>
<setenv>
CURL_FORCEHOST=1
</setenv>
<name> <name>
HTTP AWS_SIGV4 with X-Xxx-Content-Sha256 of arbitrary payload HTTP AWS_SIGV4 with X-Xxx-Content-Sha256 of arbitrary payload

View file

@ -32,16 +32,13 @@ Content-Length: 0
<server> <server>
http http
</server> </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> <features>
SSL SSL
Debug Debug
crypto crypto
aws aws
</features> </features>
<setenv>
CURL_FORCEHOST=1
</setenv>
<name> <name>
HTTP AWS_SIGV4 with X-Xxx-Content-Sha256 with whitespace HTTP AWS_SIGV4 with X-Xxx-Content-Sha256 with whitespace

View file

@ -32,16 +32,13 @@ Content-Length: 0
<server> <server>
http http
</server> </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> <features>
SSL SSL
Debug Debug
crypto crypto
aws aws
</features> </features>
<setenv>
CURL_FORCEHOST=1
</setenv>
<name> <name>
HTTP AWS_SIGV4 with long value for X-Xxx-Content-Sha256 HTTP AWS_SIGV4 with long value for X-Xxx-Content-Sha256

View file

@ -32,7 +32,7 @@ Content-Length: 0
<server> <server>
http http
</server> </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> <features>
SSL SSL
crypto crypto

View file

@ -32,16 +32,13 @@ Content-Length: 0
<server> <server>
http http
</server> </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> <features>
SSL SSL
Debug Debug
crypto crypto
aws aws
</features> </features>
<setenv>
CURL_FORCEHOST=1
</setenv>
<name> <name>
HTTP AWS_SIGV4 for AWS S3: UPLOAD with INFILESIZE=0 HTTP AWS_SIGV4 for AWS S3: UPLOAD with INFILESIZE=0

View file

@ -25,16 +25,13 @@ Content-Length: 0
<server> <server>
http http
</server> </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> <features>
SSL SSL
Debug Debug
crypto crypto
aws aws
</features> </features>
<setenv>
CURL_FORCEHOST=1
</setenv>
<name> <name>
HTTP AWS_SIGV4 for AWS S3: UPLOAD with unknown INFILESIZE HTTP AWS_SIGV4 for AWS S3: UPLOAD with unknown INFILESIZE

View file

@ -32,16 +32,13 @@ Content-Length: 0
<server> <server>
http http
</server> </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> <features>
SSL SSL
Debug Debug
crypto crypto
aws aws
</features> </features>
<setenv>
CURL_FORCEHOST=1
</setenv>
<name> <name>
HTTP AWS_SIGV4 for AWS S3: MIMEPOST HTTP AWS_SIGV4 for AWS S3: MIMEPOST

View file

@ -32,16 +32,13 @@ Content-Length: 0
<server> <server>
http http
</server> </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> <features>
SSL SSL
Debug Debug
crypto crypto
aws aws
</features> </features>
<setenv>
CURL_FORCEHOST=1
</setenv>
<name> <name>
HTTP AWS_SIGV4 for AWS S3: POSTFIELDS HTTP AWS_SIGV4 for AWS S3: POSTFIELDS

View file

@ -32,16 +32,13 @@ Content-Length: 0
<server> <server>
http http
</server> </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> <features>
SSL SSL
Debug Debug
crypto crypto
aws aws
</features> </features>
<setenv>
CURL_FORCEHOST=1
</setenv>
<name> <name>
HTTP AWS_SIGV4 for AWS S3: GET HTTP AWS_SIGV4 for AWS S3: GET

View file

@ -25,16 +25,13 @@ Content-Length: 0
<server> <server>
http http
</server> </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> <features>
SSL SSL
Debug Debug
crypto crypto
aws aws
</features> </features>
<setenv>
CURL_FORCEHOST=1
</setenv>
<name> <name>
HTTP AWS_SIGV4 for AWS S3: UPLOAD with given x-amz-content-sha256 HTTP AWS_SIGV4 for AWS S3: UPLOAD with given x-amz-content-sha256

View file

@ -43,7 +43,7 @@ Funny-head: yesyes
http http
</server> </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 # requires IPv6 so that we can assume and compare both DoH requests
<features> <features>

View file

@ -23,7 +23,7 @@ idle
http http
</server> </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> <features>
Debug Debug

View file

@ -27,7 +27,7 @@ upgrade
# #
# Client-side # Client-side
<client> <client>
# require debug for the forced CURL_ENTROPY # require Debug for the forced CURL_ENTROPY
<features> <features>
Debug Debug
ws ws

View file

@ -27,7 +27,7 @@ upgrade
# #
# Client-side # Client-side
<client> <client>
# require debug for the forced CURL_ENTROPY # require Debug for the forced CURL_ENTROPY
<features> <features>
Debug Debug
ws ws

View file

@ -20,7 +20,7 @@ hello
# #
# Client-side # Client-side
<client> <client>
# require debug for the forced CURL_ENTROPY # require Debug for the forced CURL_ENTROPY
<features> <features>
Debug Debug
ws ws

View file

@ -26,7 +26,7 @@ upgrade
# #
# Client-side # Client-side
<client> <client>
# require debug for the forced CURL_ENTROPY # require Debug for the forced CURL_ENTROPY
<features> <features>
Debug Debug
ws ws

View file

@ -39,7 +39,7 @@ http
parse incoming Alt-Svc and save to file parse incoming Alt-Svc and save to file
</name> </name>
<setenv> <setenv>
# make debug-curl accept Alt-Svc over plain HTTP # make Debug-curl accept Alt-Svc over plain HTTP
CURL_ALTSVC_HTTP="yeah" CURL_ALTSVC_HTTP="yeah"
</setenv> </setenv>
<command> <command>

View file

@ -40,7 +40,7 @@ http/2
HTTPS GET translated by alt-svc lookup to HTTP/2 GET HTTPS GET translated by alt-svc lookup to HTTP/2 GET
</name> </name>
<setenv> <setenv>
# make debug-curl accept Alt-Svc over plain HTTP # make Debug-curl accept Alt-Svc over plain HTTP
CURL_ALTSVC_HTTP="yeah" CURL_ALTSVC_HTTP="yeah"
</setenv> </setenv>
<command> <command>

View file

@ -40,7 +40,7 @@ http/2
HTTPS GET translated by alt-svc lookup to HTTP/2 GET HTTPS GET translated by alt-svc lookup to HTTP/2 GET
</name> </name>
<setenv> <setenv>
# make debug-curl accept Alt-Svc over plain HTTP # make Debug-curl accept Alt-Svc over plain HTTP
CURL_ALTSVC_HTTP="yeah" CURL_ALTSVC_HTTP="yeah"
</setenv> </setenv>
<command> <command>

View file

@ -37,7 +37,7 @@ http
alt-svc using host name with trailing dot in URL alt-svc using host name with trailing dot in URL
</name> </name>
<setenv> <setenv>
# make debug-curl accept Alt-Svc over plain HTTP # make Debug-curl accept Alt-Svc over plain HTTP
CURL_ALTSVC_HTTP="yeah" CURL_ALTSVC_HTTP="yeah"
</setenv> </setenv>
<command> <command>

View file

@ -37,7 +37,7 @@ http
alt-svc using host name with trailing dot on host from file alt-svc using host name with trailing dot on host from file
</name> </name>
<setenv> <setenv>
# make debug-curl accept Alt-Svc over plain HTTP # make Debug-curl accept Alt-Svc over plain HTTP
CURL_ALTSVC_HTTP="yeah" CURL_ALTSVC_HTTP="yeah"
</setenv> </setenv>
<command> <command>

View file

@ -37,7 +37,7 @@ http
Alt-Svc to numerical IPv6 address Alt-Svc to numerical IPv6 address
</name> </name>
<setenv> <setenv>
# make debug-curl accept Alt-Svc over plain HTTP # make Debug-curl accept Alt-Svc over plain HTTP
CURL_ALTSVC_HTTP="yeah" CURL_ALTSVC_HTTP="yeah"
</setenv> </setenv>
<command> <command>

View file

@ -40,7 +40,7 @@ http-ipv6
HTTPS IPv4 GET translated by alt-svc to IPv6 address HTTPS IPv4 GET translated by alt-svc to IPv6 address
</name> </name>
<setenv> <setenv>
# make debug-curl accept Alt-Svc over plain HTTP # make Debug-curl accept Alt-Svc over plain HTTP
CURL_ALTSVC_HTTP="yeah" CURL_ALTSVC_HTTP="yeah"
</setenv> </setenv>
<command> <command>