1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

runtests.pl: running server checks - commit 3676ec96 follow-up

Fix called sub when checking TFTP server, and adjust message.
This commit is contained in:
Yang Tse 2011-10-28 15:59:36 +02:00
parent 3676ec9680
commit bae4e3f035

View File

@ -1143,7 +1143,7 @@ sub responsiveserver {
} }
my $srvrname = servername_str($proto, $ipvnum, $idnum); my $srvrname = servername_str($proto, $ipvnum, $idnum);
logmsg "running server check FAILED (unresponsive $srvrname server)\n"; logmsg " FAILED running server precheck (unresponsive $srvrname server)\n";
return 0; return 0;
} }
@ -3908,7 +3908,7 @@ sub startservers {
} }
elsif($what eq "tftp") { elsif($what eq "tftp") {
if($torture && $run{'tftp'} && if($torture && $run{'tftp'} &&
!responsive_http_server("", $verbose)) { !responsive_tftp_server("", $verbose)) {
stopserver('tftp'); stopserver('tftp');
} }
if(!$run{'tftp'}) { if(!$run{'tftp'}) {
@ -3922,7 +3922,7 @@ sub startservers {
} }
elsif($what eq "tftp-ipv6") { elsif($what eq "tftp-ipv6") {
if($torture && $run{'tftp-ipv6'} && if($torture && $run{'tftp-ipv6'} &&
!responsive_http_server("", $verbose, "IPv6")) { !responsive_tftp_server("", $verbose, "IPv6")) {
stopserver('tftp-ipv6'); stopserver('tftp-ipv6');
} }
if(!$run{'tftp-ipv6'}) { if(!$run{'tftp-ipv6'}) {