2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

stop.pl: report test being stopped

This commit is contained in:
Mark Andrews 2018-08-17 16:24:51 +10:00 committed by Witold Kręcicki
parent ba85bb1a85
commit 15c3bf9e82

View File

@ -159,13 +159,13 @@ sub stop_signal {
$result = system("/bin/kill -f -$sig $pid");
unlink $pid_file;
if ($result != 0) {
print "I:$server died before a SIG$sig was sent\n";
print "I:$test:$server died before a SIG$sig was sent\n";
$errors++;
}
} else {
$result = kill $sig, $pid;
if (!$result) {
print "I:$server died before a SIG$sig was sent\n";
print "I:$test:$server died before a SIG$sig was sent\n";
unlink $pid_file;
$errors++;
}