aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-xtests/runtests.pl10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 1f92de9ff..cde28a2d8 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -115,6 +115,7 @@ my $http_ipv6; # set if HTTP server has IPv6 support
my $has_ipv6; # set if libcurl is built with IPv6 support
my $has_libz; # set if libcurl is built with libz support
my $has_getrlimit; # set if system has getrlimit()
+my $has_ntlm; # set if libcurl is built with NTLM support
my $skipped=0; # number of tests skipped; reported in main loop
my %skipped; # skipped{reason}=counter, reasons for skip
@@ -819,6 +820,10 @@ sub checkcurl {
if($feat =~ /libz/i) {
$has_libz = 1;
}
+ if($feat =~ /NTLM/i) {
+ # NTLM enabled
+ $has_ntlm=1;
+ }
}
}
if(!$curl) {
@@ -963,6 +968,11 @@ sub singletest {
next;
}
}
+ elsif($f eq "NTLM") {
+ if($has_ntlm) {
+ next;
+ }
+ }
elsif($f eq "getrlimit") {
if($has_getrlimit) {
next;