diff --git a/tests/libtest/test1013.pl b/tests/libtest/test1013.pl
index 15e121415fc453ca7c0e5e0ccc7e4ae86e26d031..37f98d74cfd4e69a8bd8fd11bfed0610db2bd52b 100755
--- a/tests/libtest/test1013.pl
+++ b/tests/libtest/test1013.pl
@@ -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;