Merge branch 'ondrej/use-sigabrt-from-start.pl' into 'main'

Use SIGABRT instead of SIGKILL to produce cores on failed start

See merge request isc-projects/bind9!4928
This commit is contained in:
Ondřej Surý 2021-04-29 10:44:26 +00:00
commit 9c3fac706e

View file

@ -210,7 +210,7 @@ sub start_server {
if (++$tries > 140) {
print "I:$test:Couldn't start server $command (pid=$child)\n";
print "I:$test:failed\n";
system "kill -9 $child" if ("$child" ne "");
kill "ABRT", $child if ("$child" ne "");
chdir "$testdir";
system "$PERL $srcdir/stop.pl $test";
exit 1;