diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-12-16 22:45:06 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-12-16 22:45:06 +0000 |
commit | 0b85e53af26bcd2d8c535ca54f8360c15bda7e1e (patch) | |
tree | faba17b46eb777ad3c170b612e6df7c86fdd2523 | |
parent | 26cfb21c004f1b1c70e86f06911be6a863f5f07f (diff) |
fix skip-reason
-rwxr-xr-x | tests/runtests.pl | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index 94d28fa6a..d8bc65673 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -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) { |