On Wed, Dec 28, 2016 at 11:31:51PM +0200, Niko Tyni wrote: > (from https://bugs.debian.org/848408 in libapp-termcast-perl / App-Termcast :) > > On Wed, Dec 28, 2016 at 11:07:14PM +0200, Niko Tyni wrote: > > > I can reproduce this in a single CPU virtual machine, running > > the test case in a loop. > > > > The process at the bottom of the stack is running > > > > perl -ple 'last if /^\$/' > > > > and it looks like the race is between this process exiting and its parent > > (IO::Pty::Easy) having enough time to read the last echoed newline.
> I note that all the occasionally failing tests in Term::Filter > (https://bugs.debian.org/843052) use the same style of running the > above script inside IO::Pty::Easy. I expect they would also get fixed > by injecting sleep calls before the exit. Nah, should have checked better. The Term::Filter issue is something else. I intend to mark the failing test as TODO for now. -- Niko Tyni nt...@debian.org