diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-03-21 08:14:32 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-03-21 08:14:32 +0000 |
commit | 3e5a32671c234b8c9995aa3085c93d9476d61b01 (patch) | |
tree | 693db5b102f8828eada9a8b743d039596c6e6b77 /tests/runtests.pl | |
parent | d34f32b39ef9497de3d584beb52192a31fc81e6d (diff) |
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.
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-x | tests/runtests.pl | 10 |
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; |