mirror of
https://github.com/curl/curl.git
synced 2026-08-25 00:13:34 +03:00
tests: make --libcurl tests require the --libcurl feature
Closes #16682
This commit is contained in:
parent
af3fe375b3
commit
a14eb26a58
13 changed files with 25 additions and 0 deletions
|
|
@ -435,6 +435,7 @@ feature is NOT required. If the feature is present then the test is SKIPPED.
|
||||||
|
|
||||||
Features testable here are:
|
Features testable here are:
|
||||||
|
|
||||||
|
- `--libcurl`
|
||||||
- `alt-svc`
|
- `alt-svc`
|
||||||
- `AppleIDN`
|
- `AppleIDN`
|
||||||
- `asyn-rr` - c-ares is used for additional records only
|
- `asyn-rr` - c-ares is used for additional records only
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,9 @@ Connection: close
|
||||||
|
|
||||||
# Client-side
|
# Client-side
|
||||||
<client>
|
<client>
|
||||||
|
<features>
|
||||||
|
--libcurl
|
||||||
|
</features>
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@ http
|
||||||
ftp
|
ftp
|
||||||
file
|
file
|
||||||
cookies
|
cookies
|
||||||
|
--libcurl
|
||||||
</features>
|
</features>
|
||||||
<setenv>
|
<setenv>
|
||||||
SSL_CERT_FILE=
|
SSL_CERT_FILE=
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,9 @@ Connection: close
|
||||||
|
|
||||||
# Client-side
|
# Client-side
|
||||||
<client>
|
<client>
|
||||||
|
<features>
|
||||||
|
--libcurl
|
||||||
|
</features>
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,9 @@ Connection: close
|
||||||
|
|
||||||
# Client-side
|
# Client-side
|
||||||
<client>
|
<client>
|
||||||
|
<features>
|
||||||
|
--libcurl
|
||||||
|
</features>
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ Connection: close
|
||||||
<client>
|
<client>
|
||||||
<features>
|
<features>
|
||||||
Mime
|
Mime
|
||||||
|
--libcurl
|
||||||
</features>
|
</features>
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,9 @@ REPLY FAIL 500 this might not be a failure!
|
||||||
|
|
||||||
# Client-side
|
# Client-side
|
||||||
<client>
|
<client>
|
||||||
|
<features>
|
||||||
|
--libcurl
|
||||||
|
</features>
|
||||||
<server>
|
<server>
|
||||||
ftp
|
ftp
|
||||||
</server>
|
</server>
|
||||||
|
|
|
||||||
|
|
@ -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
|
# Need ftp so the FTP options are written in the --libcurl template
|
||||||
<features>
|
<features>
|
||||||
ftp
|
ftp
|
||||||
|
--libcurl
|
||||||
</features>
|
</features>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
# Need ftp so the FTP options are written in the --libcurl template
|
||||||
<features>
|
<features>
|
||||||
ftp
|
ftp
|
||||||
|
--libcurl
|
||||||
</features>
|
</features>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,7 @@ SSL_CERT_FILE=
|
||||||
# Need ftp so the FTP options are written in the --libcurl template
|
# Need ftp so the FTP options are written in the --libcurl template
|
||||||
<features>
|
<features>
|
||||||
ftp
|
ftp
|
||||||
|
--libcurl
|
||||||
</features>
|
</features>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,9 @@ http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --libcurl %LOGDIR/test%TESTNUMBER.c
|
||||||
<file name="%LOGDIR/%TESTNUMBER-upload" nonewline="yes">
|
<file name="%LOGDIR/%TESTNUMBER-upload" nonewline="yes">
|
||||||
%hex[ab%81cd%00e\"?%0D%0A%09%01fghi%1Ajklm%FD]hex%
|
%hex[ab%81cd%00e\"?%0D%0A%09%01fghi%1Ajklm%FD]hex%
|
||||||
</file>
|
</file>
|
||||||
|
<features>
|
||||||
|
--libcurl
|
||||||
|
</features>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
# Verify data after the test has been "shot"
|
# Verify data after the test has been "shot"
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,7 @@ http
|
||||||
<features>
|
<features>
|
||||||
proxy
|
proxy
|
||||||
SSL
|
SSL
|
||||||
|
--libcurl
|
||||||
</features>
|
</features>
|
||||||
<name>
|
<name>
|
||||||
--libcurl with TLS version options
|
--libcurl with TLS version options
|
||||||
|
|
|
||||||
|
|
@ -115,6 +115,9 @@ static const char *disabled[]={
|
||||||
#ifndef CURL_CA_SEARCH_SAFE
|
#ifndef CURL_CA_SEARCH_SAFE
|
||||||
"win32-ca-search-safe",
|
"win32-ca-search-safe",
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
#ifdef CURL_DISABLE_LIBCURL_OPTION
|
||||||
|
"--libcurl",
|
||||||
#endif
|
#endif
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue