]> Sergey Matveev's repositories - public-inbox.git/commit
t/run.perl: fix for >128 tests
authorEric Wong <e@80x24.org>
Tue, 9 Feb 2021 08:09:32 +0000 (07:09 -0100)
committerEric Wong <e@80x24.org>
Wed, 10 Feb 2021 06:59:04 +0000 (06:59 +0000)
commitcf3d02714d560cfeab1c5582ad2e5a11542cd649
tree18570ea945b2b4b196ac48ae1588b14a45b822b5
parent550c69496caa3c61188c645b536ec3c4c3ade70a
t/run.perl: fix for >128 tests

We need to explicitly close the write-end of the pipe in workers
to ensure they don't prevent each other from seeing EOF.

Also, make a note to keep using the pipe for now since
Linux <3.14 had broken read(2) semantics when file descriptions
are shared across threads/processes.
t/run.perl