]> granicus.if.org Git - curl/commitdiff
runtests.pl: Added support for SPNEGO
authorSteve Holme <steve_holme@hotmail.com>
Sat, 22 Nov 2014 12:24:13 +0000 (12:24 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Sat, 22 Nov 2014 13:52:57 +0000 (13:52 +0000)
tests/FILEFORMAT
tests/runtests.pl

index a6db19abc2349192d25f7ab18dc95fd6f26b2efa..a24007cfb2f68ce05bbe32406c9422f9f3d5f274 100644 (file)
@@ -228,6 +228,7 @@ http2
 SSPI
 GSS-API
 Kerberos
+SPNEGO
 
 as well as each protocol that curl supports.  A protocol only needs to be
 specified if it is different from the server (useful when the server
index 1da4073bcbecf247b4e8c153c3b8c5028a9dd084..a26c6df3020cc6441fd7f906f9ca724c62885faa 100755 (executable)
@@ -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;