Closed
Description
Python test runner "regrtest" uses process groups to be able to kill child processes of worker processes. Tests are run in subprocesses to run them in parallel and to catch bugs.
Problem: if setsid() is called (after fork), test_ioctl fails to open /dev/tty
.
I propose to not use setsid()
when running tests using TTY, such as test_ioctl.