tests: Made the crypto test feature usable
This feature specifies the availability of cryptographic authentication, which can be disabled at compile-time
This commit is contained in:
Родитель
184c3e2d37
Коммит
4b4e8a5853
|
@ -1026,7 +1026,6 @@ REDUCING SIZE
|
||||||
command line. Following is a list of appropriate key words:
|
command line. Following is a list of appropriate key words:
|
||||||
|
|
||||||
--disable-cookies !cookies
|
--disable-cookies !cookies
|
||||||
--disable-crypto-auth !HTTP\ Digest\ auth !HTTP\ proxy\ Digest\ auth
|
|
||||||
--disable-manual !--manual
|
--disable-manual !--manual
|
||||||
--disable-proxy !HTTP\ proxy !proxytunnel !SOCKS4 !SOCKS5
|
--disable-proxy !HTTP\ proxy !proxytunnel !SOCKS4 !SOCKS5
|
||||||
|
|
||||||
|
|
|
@ -63,6 +63,9 @@ ok
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
|
<features>
|
||||||
|
crypto
|
||||||
|
</features>
|
||||||
<name>
|
<name>
|
||||||
HTTP POST --digest with PUT and resumed upload and modified method
|
HTTP POST --digest with PUT and resumed upload and modified method
|
||||||
</name>
|
</name>
|
||||||
|
|
|
@ -62,6 +62,9 @@ ok
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
|
<features>
|
||||||
|
crypto
|
||||||
|
</features>
|
||||||
<name>
|
<name>
|
||||||
HTTP POST --digest with PUT and resumed upload and modified method, twice
|
HTTP POST --digest with PUT and resumed upload and modified method, twice
|
||||||
</name>
|
</name>
|
||||||
|
|
|
@ -29,9 +29,6 @@ Content-Length: 0
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
<features>
|
|
||||||
crypto
|
|
||||||
</features>
|
|
||||||
<name>
|
<name>
|
||||||
HTTP GET with unexpected 1xx response
|
HTTP GET with unexpected 1xx response
|
||||||
</name>
|
</name>
|
||||||
|
|
|
@ -61,6 +61,7 @@ http
|
||||||
lib547
|
lib547
|
||||||
</tool>
|
</tool>
|
||||||
<features>
|
<features>
|
||||||
|
crypto
|
||||||
</features>
|
</features>
|
||||||
<name>
|
<name>
|
||||||
HTTP proxy auth Digest with POST data from read callback
|
HTTP proxy auth Digest with POST data from read callback
|
||||||
|
|
Двоичные данные
tests/data/test552
Двоичные данные
tests/data/test552
Двоичный файл не отображается.
|
@ -56,6 +56,9 @@ ok
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
|
<features>
|
||||||
|
crypto
|
||||||
|
</features>
|
||||||
# tool is what to use instead of 'curl'
|
# tool is what to use instead of 'curl'
|
||||||
<tool>
|
<tool>
|
||||||
lib565
|
lib565
|
||||||
|
|
|
@ -56,6 +56,9 @@ ok
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
|
<features>
|
||||||
|
crypto
|
||||||
|
</features>
|
||||||
# tool is what to use instead of 'curl'
|
# tool is what to use instead of 'curl'
|
||||||
<tool>
|
<tool>
|
||||||
lib579
|
lib579
|
||||||
|
|
|
@ -2403,6 +2403,8 @@ sub checksystem {
|
||||||
if($feat =~ /NTLM/i) {
|
if($feat =~ /NTLM/i) {
|
||||||
# NTLM enabled
|
# NTLM enabled
|
||||||
$has_ntlm=1;
|
$has_ntlm=1;
|
||||||
|
# Use this as a proxy for any cryptographic authentication
|
||||||
|
$has_crypto=1;
|
||||||
}
|
}
|
||||||
if($feat =~ /NTLM_WB/i) {
|
if($feat =~ /NTLM_WB/i) {
|
||||||
# NTLM delegation to winbind daemon ntlm_auth helper enabled
|
# NTLM delegation to winbind daemon ntlm_auth helper enabled
|
||||||
|
@ -2513,10 +2515,6 @@ sub checksystem {
|
||||||
$has_shared = `sh $CURLCONFIG --built-shared`;
|
$has_shared = `sh $CURLCONFIG --built-shared`;
|
||||||
chomp $has_shared;
|
chomp $has_shared;
|
||||||
|
|
||||||
# curl doesn't list cryptographic support separately, so assume it's
|
|
||||||
# always available
|
|
||||||
$has_crypto=1;
|
|
||||||
|
|
||||||
my $hostname=join(' ', runclientoutput("hostname"));
|
my $hostname=join(' ', runclientoutput("hostname"));
|
||||||
my $hosttype=join(' ', runclientoutput("uname -a"));
|
my $hosttype=join(' ', runclientoutput("uname -a"));
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче