mirror of
https://github.com/curl/curl.git
synced 2026-07-22 22:47:17 +03:00
runtests.pl: make it support metalink feature
This commit is contained in:
parent
07086c9487
commit
a3e3f8ffa0
1 changed files with 10 additions and 0 deletions
|
|
@ -211,6 +211,7 @@ my $has_ntlm; # set if libcurl is built with NTLM support
|
|||
my $has_ntlm_wb; # set if libcurl is built with NTLM delegation to winbind
|
||||
my $has_charconv;# set if libcurl is built with CharConv support
|
||||
my $has_tls_srp; # set if libcurl is built with TLS-SRP support
|
||||
my $has_metalink;# set if curl is built with Metalink support
|
||||
|
||||
my $has_openssl; # built with a lib using an OpenSSL-like API
|
||||
my $has_gnutls; # built with GnuTLS
|
||||
|
|
@ -2339,6 +2340,10 @@ sub checksystem {
|
|||
# TLS-SRP enabled
|
||||
$has_tls_srp=1;
|
||||
}
|
||||
if($feat =~ /Metalink/i) {
|
||||
# Metalink enabled
|
||||
$has_metalink=1;
|
||||
}
|
||||
}
|
||||
#
|
||||
# Test harness currently uses a non-stunnel server in order to
|
||||
|
|
@ -2749,6 +2754,11 @@ sub singletest {
|
|||
next;
|
||||
}
|
||||
}
|
||||
elsif($f eq "Metalink") {
|
||||
if($has_metalink) {
|
||||
next;
|
||||
}
|
||||
}
|
||||
elsif($f eq "socks") {
|
||||
next;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue