test1014: GSS-API is only in curl-config. not in curl
authorDaniel Stenberg <daniel@haxx.se>
Sun, 18 May 2014 15:07:29 +0000 (17:07 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 18 May 2014 15:07:29 +0000 (17:07 +0200)
Follow-up to commit 121bcfee5d1. curl-config --features now lists
GSS-API but it is not a listed feature in curl -V. This should probably
be synchronized.

tests/libtest/test1013.pl

index 15e1214..37f98d7 100755 (executable)
@@ -32,7 +32,10 @@ open(CURLCONFIG, "sh $ARGV[0] --$what|") || die "Can't get curl-config $what lis
 while( <CURLCONFIG> )
 {
     chomp;
-    push @curl_config, lc($_);
+    # ignore curl-config --features not in curl's feature list
+    if(!/^(GSS-API)$/) {
+        push @curl_config, lc($_);
+    }
 }
 close CURLCONFIG;