Bug#549760: libipc-shareable-perl: FTBFS: tests failed

Tim Retout tim at retout.co.uk
Sat Oct 31 17:44:42 UTC 2009


Regarding the blocking, there's a bug report on CPAN:
http://rt.cpan.org/Public/Bug/Display.html?id=19169

I think the reasoning there is sound; the parent could send both ALRM
signals before $awake is set to 0, leaving nothing to wake up the child
the second time.  The fix there adds a 'sleep 1' into the mix, but
better might be for the child to signal the parent that it has finished
the first part of the processing and is ready for the next (so the
parent gets a 'sleep unless $awake' line as well).

Regarding the tests falling out of order, this must happen when the
child exits unexpectedly before running the second and third tests, I
think?  Or doesn't manage to print anything.

-- 
Tim Retout <tim at retout.co.uk>





More information about the pkg-perl-maintainers mailing list