Loading tests/runtests.pl +12 −12 Original line number Diff line number Diff line Loading @@ -199,8 +199,8 @@ my $valgrind_tool; my $gdb = checktestcmd("gdb"); my $httptlssrv = find_httptlssrv(); my $ssl_version; # set if libcurl is built with SSL support my $large_file; # set if libcurl is built with large file support my $has_ssl; # set if libcurl is built with SSL support my $has_largefile; # set if libcurl is built with large file support my $has_idn; # set if libcurl is built with IDN support my $http_ipv6; # set if HTTP server has IPv6 support my $http_unix; # set if HTTP server has Unix sockets support Loading Loading @@ -2411,11 +2411,11 @@ sub checksystem { } if($feat =~ /SSL/i) { # ssl enabled $ssl_version=1; $has_ssl=1; } if($feat =~ /Largefile/i) { # large file support $large_file=1; $has_largefile=1; } if($feat =~ /IDN/i) { # IDN support Loading Loading @@ -2596,7 +2596,7 @@ sub checksystem { } logmsg sprintf("* Server SSL: %8s", $stunnel?"ON ":"OFF"); logmsg sprintf(" libcurl SSL: %s\n", $ssl_version?"ON ":"OFF"); logmsg sprintf(" libcurl SSL: %s\n", $has_ssl?"ON ":"OFF"); logmsg sprintf("* debug build: %8s", $debug_build?"ON ":"OFF"); logmsg sprintf(" track memory: %s\n", $has_memory_tracking?"ON ":"OFF"); logmsg sprintf("* valgrind: %8s", $valgrind?"ON ":"OFF"); Loading @@ -2607,7 +2607,7 @@ sub checksystem { logmsg sprintf("* PSL: %8s", $has_psl?"ON ":"OFF"); logmsg sprintf(" Resolver: %s\n", $resolver); if($ssl_version) { if($has_ssl) { logmsg sprintf("* SSL library: %13s\n", $ssllib); } Loading Loading @@ -2858,7 +2858,7 @@ sub singletest { $feature{$1} = $1; if($1 eq "SSL") { if($ssl_version) { if($has_ssl) { next; } } Loading Loading @@ -2913,7 +2913,7 @@ sub singletest { } } elsif($1 eq "large_file") { if($large_file) { if($has_largefile) { next; } } Loading Loading @@ -3016,7 +3016,7 @@ sub singletest { if($f =~ /^!(.*)$/) { if($1 eq "SSL") { if(!$ssl_version) { if(!$has_ssl) { next; } } Loading Loading @@ -3056,7 +3056,7 @@ sub singletest { } } elsif($1 eq "large_file") { if(!$large_file) { if(!$has_largefile) { next; } } Loading Loading @@ -4350,7 +4350,7 @@ sub startservers { # we can't run ftps tests without stunnel return "no stunnel"; } if(!$ssl_version) { if(!$has_ssl) { # we can't run ftps tests if libcurl is SSL-less return "curl lacks SSL support"; } Loading Loading @@ -4388,7 +4388,7 @@ sub startservers { # we can't run https tests without stunnel return "no stunnel"; } if(!$ssl_version) { if(!$has_ssl) { # we can't run https tests if libcurl is SSL-less return "curl lacks SSL support"; } Loading Loading
tests/runtests.pl +12 −12 Original line number Diff line number Diff line Loading @@ -199,8 +199,8 @@ my $valgrind_tool; my $gdb = checktestcmd("gdb"); my $httptlssrv = find_httptlssrv(); my $ssl_version; # set if libcurl is built with SSL support my $large_file; # set if libcurl is built with large file support my $has_ssl; # set if libcurl is built with SSL support my $has_largefile; # set if libcurl is built with large file support my $has_idn; # set if libcurl is built with IDN support my $http_ipv6; # set if HTTP server has IPv6 support my $http_unix; # set if HTTP server has Unix sockets support Loading Loading @@ -2411,11 +2411,11 @@ sub checksystem { } if($feat =~ /SSL/i) { # ssl enabled $ssl_version=1; $has_ssl=1; } if($feat =~ /Largefile/i) { # large file support $large_file=1; $has_largefile=1; } if($feat =~ /IDN/i) { # IDN support Loading Loading @@ -2596,7 +2596,7 @@ sub checksystem { } logmsg sprintf("* Server SSL: %8s", $stunnel?"ON ":"OFF"); logmsg sprintf(" libcurl SSL: %s\n", $ssl_version?"ON ":"OFF"); logmsg sprintf(" libcurl SSL: %s\n", $has_ssl?"ON ":"OFF"); logmsg sprintf("* debug build: %8s", $debug_build?"ON ":"OFF"); logmsg sprintf(" track memory: %s\n", $has_memory_tracking?"ON ":"OFF"); logmsg sprintf("* valgrind: %8s", $valgrind?"ON ":"OFF"); Loading @@ -2607,7 +2607,7 @@ sub checksystem { logmsg sprintf("* PSL: %8s", $has_psl?"ON ":"OFF"); logmsg sprintf(" Resolver: %s\n", $resolver); if($ssl_version) { if($has_ssl) { logmsg sprintf("* SSL library: %13s\n", $ssllib); } Loading Loading @@ -2858,7 +2858,7 @@ sub singletest { $feature{$1} = $1; if($1 eq "SSL") { if($ssl_version) { if($has_ssl) { next; } } Loading Loading @@ -2913,7 +2913,7 @@ sub singletest { } } elsif($1 eq "large_file") { if($large_file) { if($has_largefile) { next; } } Loading Loading @@ -3016,7 +3016,7 @@ sub singletest { if($f =~ /^!(.*)$/) { if($1 eq "SSL") { if(!$ssl_version) { if(!$has_ssl) { next; } } Loading Loading @@ -3056,7 +3056,7 @@ sub singletest { } } elsif($1 eq "large_file") { if(!$large_file) { if(!$has_largefile) { next; } } Loading Loading @@ -4350,7 +4350,7 @@ sub startservers { # we can't run ftps tests without stunnel return "no stunnel"; } if(!$ssl_version) { if(!$has_ssl) { # we can't run ftps tests if libcurl is SSL-less return "curl lacks SSL support"; } Loading Loading @@ -4388,7 +4388,7 @@ sub startservers { # we can't run https tests without stunnel return "no stunnel"; } if(!$ssl_version) { if(!$has_ssl) { # we can't run https tests if libcurl is SSL-less return "curl lacks SSL support"; } Loading