From 2e2f981bcc1f0332394ed16b551253528320d74f Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 22 Nov 2014 12:24:13 +0000 Subject: runtests.pl: Added support for SPNEGO --- tests/runtests.pl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'tests/runtests.pl') diff --git a/tests/runtests.pl b/tests/runtests.pl index 1da4073bc..a26c6df30 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -213,6 +213,7 @@ my $has_ntlm_wb; # set if libcurl is built with NTLM delegation to winbind my $has_sspi; # set if libcurl is built with SSPI support my $has_gssapi; # set if libcurl is built with a GSS-API library my $has_kerberos;# set if libcurl is built with Kerberos support +my $has_spnego; # set if libcurl is built with SPNEGO 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 my $has_metalink;# set if curl is built with Metalink support @@ -2408,6 +2409,10 @@ sub checksystem { # Kerberos enabled $has_kerberos=1; } + if($feat =~ /SPNEGO/i) { + # SPNEGO enabled + $has_spnego=1; + } if($feat =~ /CharConv/i) { # CharConv enabled $has_charconv=1; @@ -2879,6 +2884,11 @@ sub singletest { next; } } + elsif($1 eq "SPNEGO") { + if($has_spnego) { + next; + } + } elsif($1 eq "getrlimit") { if($has_getrlimit) { next; @@ -3009,6 +3019,11 @@ sub singletest { next; } } + elsif($1 eq "SPNEGO") { + if(!$has_spnego) { + next; + } + } elsif($1 eq "getrlimit") { if(!$has_getrlimit) { next; -- cgit v1.2.3