summaryrefslogtreecommitdiffstats
path: root/Lib/test/subprocessdata/fd_status.py
Commit message (Collapse)AuthorAgeFilesLines
* [3.13] gh-134954: Hard-cap max file descriptors in subprocess test fd_status ↵Miss Islington (bot)2025-05-311-2/+2
| | | | | | | | | | | | | | | | | (GH-134955) (#134981) gh-134954: Hard-cap max file descriptors in subprocess test fd_status (GH-134955) * Hard-cap max file descriptors in subprocess test fd_status On some systems, `SC_OPEN_MAX` may return a very large value (i.e. 10**30), leading to the subprocess test timing out (or run forever). Prevent this situation by applying a hard cap on how many file descriptors are checked. * Fix typo in usage docstring s/fd_stats/fd_status/ (cherry picked from commit f58873e4b2b7aad8e3a08a6188c6eb08d0a3001b) Co-authored-by: Itamar Oren <itamarost@gmail.com>
* Issue #18571: Merge duplicate test codeVictor Stinner2013-09-011-7/+16
| | | | Merge test/subprocessdata/inherited.py into test/subprocessdata/fd_status.py
* Use new new stat.S_ISDOOR() function, instead of hardcoded maskVictor Stinner2013-08-211-1/+2
|
* Issue #10826: Prevent sporadic failure in test_subprocess on Solaris dueAntoine Pitrou2011-02-211-12/+12
| | | | to open door files.
* issue7213: Open the pipes used by subprocesses with the FD_CLOEXEC flag fromGregory P. Smith2010-12-131-0/+24
the C code, using pipe2() when available. Adds unittests for close_fds and cloexec behaviors.