mirror of https://github.com/python/cpython
10e9bb13b8
Regression test that vfork is used when expected by subprocess. This is written integration test style, it uses strace if it is present and appears to work to find out what system call actually gets used in different scenarios. Test coverage is added for the default behavior and that of each of the specific arguments that must disable the use of vfork. obviously not an entire test matrix, but it covers the most important aspects. If there are ever issues with this test being flaky or failing on new platforms, rather than try and adapt it for all possible platforms, feel free to narrow the range it gets tested on when appropriate. That is not likely to reduce coverage. |
||
---|---|---|
.. | ||
ISSUE_TEMPLATE | ||
problem-matchers | ||
workflows | ||
CODEOWNERS | ||
CONTRIBUTING.rst | ||
PULL_REQUEST_TEMPLATE.md | ||
SECURITY.md | ||
dependabot.yml |