Running the Python test suite leaks .pem files in /tmp (original) (raw)

Running the Python test suite has two issues:

Moreover, test_tools enters an unlimited loop and fills the TMPDIRdirectoryiftheTMPDIR directory if the TMPDIRdirectoryiftheTMPDIR is a sub-directory of the Python source code directory. Example:

Running test_freeze_simple_script() of test_tools copies TMP/ into TMP/TMP/ and then into TMP/TMP/TMP/, etc. Quickly, it fills TMP/ with a "loop" of files :-)

Linked PRs