aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-11-22 12:12:42 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-11-22 12:12:42 +0000
commit5b437c7637ffcc79c8483794892b3afad1a469eb (patch)
tree8438002e30bb118117e0b68e05fc1ec3d0c25e93
parent84d752d1ad8b8d61e0eae89aed0ba30dca9e163a (diff)
runtests.pl: Added GSS-API detection
-rwxr-xr-xtests/runtests.pl15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index ce962a957..65b1e1461 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -211,6 +211,7 @@ my $has_getrlimit; # set if system has getrlimit()
my $has_ntlm; # set if libcurl is built with NTLM support
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_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
@@ -2398,6 +2399,10 @@ sub checksystem {
# SSPI enabled
$has_sspi=1;
}
+ if($feat =~ /GSS-API/i) {
+ # GSS-API enabled
+ $has_gssapi=1;
+ }
if($feat =~ /CharConv/i) {
# CharConv enabled
$has_charconv=1;
@@ -2859,6 +2864,11 @@ sub singletest {
next;
}
}
+ elsif($1 eq "GSS-API") {
+ if($has_gssapi) {
+ next;
+ }
+ }
elsif($1 eq "getrlimit") {
if($has_getrlimit) {
next;
@@ -2979,6 +2989,11 @@ sub singletest {
next;
}
}
+ elsif($1 eq "GSS-API") {
+ if(!$has_gssapi) {
+ next;
+ }
+ }
elsif($1 eq "getrlimit") {
if(!$has_getrlimit) {
next;