diff options
author | Yang Tse <yangsita@gmail.com> | 2011-10-28 15:59:36 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-10-28 15:59:36 +0200 |
commit | bae4e3f03512617c793ce5ca1073d5257c82195e (patch) | |
tree | 2883a645a14e105eb96e602cbb0a6eea62e40b8e /tests | |
parent | 3676ec968049bd0fc26d4dd79e168704dbf6bc2f (diff) |
runtests.pl: running server checks - commit 3676ec96 follow-up
Fix called sub when checking TFTP server, and adjust message.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/runtests.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index 0a7a258f2..cadf23163 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -1143,7 +1143,7 @@ sub responsiveserver { } 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; } @@ -3908,7 +3908,7 @@ sub startservers { } elsif($what eq "tftp") { if($torture && $run{'tftp'} && - !responsive_http_server("", $verbose)) { + !responsive_tftp_server("", $verbose)) { stopserver('tftp'); } if(!$run{'tftp'}) { @@ -3922,7 +3922,7 @@ sub startservers { } elsif($what eq "tftp-ipv6") { if($torture && $run{'tftp-ipv6'} && - !responsive_http_server("", $verbose, "IPv6")) { + !responsive_tftp_server("", $verbose, "IPv6")) { stopserver('tftp-ipv6'); } if(!$run{'tftp-ipv6'}) { |