Bug#721988: perl: sig ALARM kill the father of a forked process on mips
Dominic Hargreaves
dom at earth.li
Sat Sep 7 00:24:25 UTC 2013
On Fri, Sep 06, 2013 at 05:19:41PM +0200, Gonéri Le Bouder wrote:
> Package: perl
> Version: 5.18.1-3
> Severity: normal
>
> Hi Perl maintainers,
>
>
> The following test fails only on MIPS (perl 5.18.1-2 mips):
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> #!/usr/bin/perl
>
> use strict;
> use warnings;
>
> use Test::More;
> use English qw(-no_match_vars);
>
> plan tests => 1;
>
> if (my $pid = fork()) {
> waitpid($pid, 0);
> ok(
> $CHILD_ERROR >> 8,
> 'process still running after ALARM signal in child');
> } else {
> alarm 1;
> sleep 10;
> }
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> I got this unexpected behavior during fusioninventory-agent build on MIPS.
> https://buildd.debian.org/status/package.php?p=fusioninventory-agent
Is this the right test case? This fails for me on i386 and amd64 too,
both with wheezy (5.14) and sid (5.18).
More information about the Perl-maintainers
mailing list