Red Hat Bugzilla – Bug 1314777
perl-IO-Pty-Easy-0.09-5.fc25 FTBFS: t/read-write.t test fails randomly
Last modified: 2016-03-15 07:14:34 EDT
perl-IO-Pty-Easy-0.09-5.fc25 fails to build in F25 sometimes because a test can fail:
# Failed test 'write returns undef on timeout'
# at t/read-write.t line 18.
# got: '11'
# expected: undef
# Looks like you failed 1 test of 5.
Dubious, test returned 1 (wstat 256, 0x100)
$ while (perl -Ilib t/read-write.t); do :;done
It looks like there is a race in the test.
I applied a fix I proposed to the upstream. But it fails in koji. It actually fails if tests' stdin is not a TTY. This looks like genuine bug in the module.
It loks like a bug in the module documentation. I adapted the test.