fix skip-reason

This commit is contained in:
Daniel Stenberg 2004-12-16 22:45:06 +00:00
parent 26cfb21c00
commit 0b85e53af2
1 changed files with 8 additions and 4 deletions

View File

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