aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-06-20 20:15:42 +0200
committerYang Tse <yangsita@gmail.com>2012-06-20 20:15:42 +0200
commita3e3f8ffa0a3711adfda1486aaf2cd9e61c485a7 (patch)
tree4c5c90558e95ea5faef0d001205baf1d2e4e0608 /tests
parent07086c9487540d792f84d6d84687a6c986f9b138 (diff)
runtests.pl: make it support metalink feature
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runtests.pl10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index ed234be23..ddda76f1c 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -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;
}