test2005: verify ntlm single-signon

This commit is contained in:
Mandy Wu
2011-07-18 23:39:52 +02:00
committed by Daniel Stenberg
parent a6d4807d02
commit aa26c2751a
5 changed files with 278 additions and 2 deletions

View File

@@ -203,6 +203,7 @@ 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 $has_ntlm_sso; # set if libcurl is built with NTLM single-sign-on support
my $has_charconv;# set if libcurl is built with CharConv support
my $has_tls_srp; # set if libcurl is built with TLS-SRP support
@@ -2172,6 +2173,10 @@ sub checksystem {
# NTLM enabled
$has_ntlm=1;
}
if($feat =~ /NTLM_SSO/i) {
# NTLM single-sign-on enabled
$has_ntlm_sso=1;
}
if($feat =~ /CharConv/i) {
# CharConv enabled
$has_charconv=1;
@@ -2515,6 +2520,11 @@ sub singletest {
next;
}
}
elsif($f eq "NTLM_SSO") {
if($has_ntlm_sso) {
next;
}
}
elsif($f eq "getrlimit") {
if($has_getrlimit) {
next;