Closed
Description
Running the Python test suite has two issues:
- A test leaks 3 .pem files in /tmp
- The test suite is not marked as failed when it leaks temporary files (in /tmp)
Moreover, test_tools enters an unlimited loop and fills the $TMPDIR directory if the $TMPDIR is a sub-directory of the Python source code directory. Example:
- /home/vstinner/python/main/ : Python source code
- /home/vstinner/python/main/TMP/ : Temporary directory ($TMPDIR)
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
Metadata
Metadata
Assignees
Labels
only security fixesonly security fixesTests in the Lib/test dirTests in the Lib/test dirAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error