fix skip-reason
authorDaniel Stenberg <daniel@haxx.se>
Thu, 16 Dec 2004 22:45:06 +0000 (22:45 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 16 Dec 2004 22:45:06 +0000 (22:45 +0000)
tests/runtests.pl

index 94d28fa..d8bc656 100755 (executable)
@@ -1519,11 +1519,15 @@ sub startservers {
             # we support it but have no server!
         }
         elsif($what eq "https") {
-            if(!$stunnel || !$ssl_version) {
-                # we can't run https tests without stunnel
-                # or if libcurl is SSL-less
-                return 1;
+            if(!$stunnel) {
+                # we can't run ftps tests without stunnel
+                return "no stunnel";
             }
+            if(!!$ssl_version) {
+                # we can't run ftps tests if libcurl is SSL-less
+                return "curl lacks SSL support";
+            }
+
             if(!$run{'http'}) {
                 $pid = runhttpserver($verbose);
                 if($pid <= 0) {