tests: make --libcurl tests require the --libcurl feature

Closes #16682
This commit is contained in:
Daniel Stenberg 2025-03-12 14:58:41 +01:00
parent af3fe375b3
commit a14eb26a58
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
13 changed files with 25 additions and 0 deletions

View File

@ -435,6 +435,7 @@ feature is NOT required. If the feature is present then the test is SKIPPED.
Features testable here are:
- `--libcurl`
- `alt-svc`
- `AppleIDN`
- `asyn-rr` - c-ares is used for additional records only

View File

@ -21,6 +21,9 @@ Connection: close
# Client-side
<client>
<features>
--libcurl
</features>
<server>
http
</server>

View File

@ -36,6 +36,7 @@ http
ftp
file
cookies
--libcurl
</features>
<setenv>
SSL_CERT_FILE=

View File

@ -22,6 +22,9 @@ Connection: close
# Client-side
<client>
<features>
--libcurl
</features>
<server>
http
</server>

View File

@ -22,6 +22,9 @@ Connection: close
# Client-side
<client>
<features>
--libcurl
</features>
<server>
http
</server>

View File

@ -25,6 +25,7 @@ Connection: close
<client>
<features>
Mime
--libcurl
</features>
<server>
http

View File

@ -26,6 +26,9 @@ REPLY FAIL 500 this might not be a failure!
# Client-side
<client>
<features>
--libcurl
</features>
<server>
ftp
</server>

View File

@ -40,6 +40,7 @@ smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient.one@example.com --mai
# Need ftp so the FTP options are written in the --libcurl template
<features>
ftp
--libcurl
</features>
</client>

View File

@ -35,6 +35,7 @@ pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -l -u user:secret --libcurl %LOGDIR/test%TE
# Need ftp so the FTP options are written in the --libcurl template
<features>
ftp
--libcurl
</features>
</client>

View File

@ -41,6 +41,7 @@ SSL_CERT_FILE=
# Need ftp so the FTP options are written in the --libcurl template
<features>
ftp
--libcurl
</features>
</client>

View File

@ -38,6 +38,9 @@ http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --libcurl %LOGDIR/test%TESTNUMBER.c
<file name="%LOGDIR/%TESTNUMBER-upload" nonewline="yes">
%hex[ab%81cd%00e\"?%0D%0A%09%01fghi%1Ajklm%FD]hex%
</file>
<features>
--libcurl
</features>
</client>
# Verify data after the test has been "shot"

View File

@ -27,6 +27,7 @@ http
<features>
proxy
SSL
--libcurl
</features>
<name>
--libcurl with TLS version options

View File

@ -115,6 +115,9 @@ static const char *disabled[]={
#ifndef CURL_CA_SEARCH_SAFE
"win32-ca-search-safe",
#endif
#endif
#ifdef CURL_DISABLE_LIBCURL_OPTION
"--libcurl",
#endif
NULL
};