From 3e5a32671c234b8c9995aa3085c93d9476d61b01 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 21 Mar 2005 08:14:32 +0000 Subject: Make NTLM tests depend on the NTLM feature at not SSL, since the NTLM support is no longer only present when built with SSL support. --- tests/runtests.pl | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/runtests.pl') 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; -- cgit v1.2.3