mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
stop.pl: report test being stopped
This commit is contained in:
parent
ba85bb1a85
commit
15c3bf9e82
@ -159,13 +159,13 @@ sub stop_signal {
|
|||||||
$result = system("/bin/kill -f -$sig $pid");
|
$result = system("/bin/kill -f -$sig $pid");
|
||||||
unlink $pid_file;
|
unlink $pid_file;
|
||||||
if ($result != 0) {
|
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++;
|
$errors++;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$result = kill $sig, $pid;
|
$result = kill $sig, $pid;
|
||||||
if (!$result) {
|
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;
|
unlink $pid_file;
|
||||||
$errors++;
|
$errors++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user