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. |
||
---|---|---|
.. | ||
_hypothesis_stubs | ||
__init__.py | ||
ast_helper.py | ||
asynchat.py | ||
asyncore.py | ||
bytecode_helper.py | ||
hashlib_helper.py | ||
hypothesis_helper.py | ||
import_helper.py | ||
interpreters.py | ||
logging_helper.py | ||
os_helper.py | ||
pty_helper.py | ||
script_helper.py | ||
socket_helper.py | ||
testcase.py | ||
threading_helper.py | ||
warnings_helper.py |