While debugging a PR #706 and why the tests don't finish for that PR I came across cases when the calls to pipe in runProgram, here, would fail with errno 24 aka EMFILE, or Too many open files (POSIX.1-2001).. This means that we are leaking file descriptors during test execution.
While debugging a PR #706 and why the tests don't finish for that PR I came across cases when the calls to
pipe
inrunProgram
, here, would fail witherrno 24
akaEMFILE
, orToo many open files (POSIX.1-2001).
. This means that we are leaking file descriptors during test execution.