runtests: fix problems on <killserver> failure

The verify time must be set in this case, like all cases. An error
message needs to be displayed as well.
This commit is contained in:
Dan Fandrich 2023-04-17 21:31:38 -07:00
Родитель 1f6a9f48aa
Коммит 04113319db
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -843,6 +843,9 @@ sub singletest_clean {
foreach my $server (@killtestservers) {
chomp $server;
if(stopserver($server)) {
logmsg " killserver FAILED\n";
# timestamp test result verification end
$timevrfyend{$testnum} = Time::HiRes::time();
return 1; # normal error if asked to fail on unexpected alive
}
}