summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_subprocess.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #10197 Rework subprocess.get[status]output to use subprocess ↵Tim Golden2013-11-031-9/+2
| | | | functionality and thus to work on Windows. Patch by Nick Coghlan.
* Forward port new tests from Issue #18851.Antoine Pitrou2013-08-301-0/+34
|
* Fixes issue #15507: test_subprocess's test_send_signal could fail if the testGregory P. Smith2013-08-291-10/+16
| | | | | | runner were run in an environment where the process inherited an ignore setting for SIGINT. Restore the SIGINT handler to the desired KeyboardInterrupt raising one during that test.
* Issue #18763: subprocess: The file descriptors are now closed after calling theCharles-François Natali2013-08-251-0/+17
| | | | preexec_fn callback, which may open file descriptors.
* Issue #17046: Fix test_subprocess test_executable_without_cwd broken test case.Ned Deily2013-08-031-1/+2
|
* Issue #18174: Fix fd leaks in tests.Richard Oudkerk2013-06-101-1/+2
|
* Try to make test more reliable (saw some sporadic failures on buildbots)Antoine Pitrou2013-05-191-3/+3
|
* Fixes issue #17488: Change the subprocess.Popen bufsize parameter default valueGregory P. Smith2013-03-231-0/+28
|\ | | | | | | | | | | from unbuffered (0) to buffering (-1) to match the behavior existing code expects and match the behavior of the subprocess module in Python 2 to avoid introducing hard to track down bugs.
| * Fixes issue #17488: Change the subprocess.Popen bufsize parameter default valueGregory P. Smith2013-03-231-0/+22
| | | | | | | | | | | | from unbuffered (0) to buffering (-1) to match the behavior existing code expects and match the behavior of the subprocess module in Python 2 to avoid introducing hard to track down bugs.
* | #11963: merge with 3.2.Ezio Melotti2013-03-111-12/+36
|\ \ | |/
| * #11963: remove human verification from test_parser and test_subprocess.Ezio Melotti2013-03-111-12/+36
| |
| * Issue #16903: Popen.communicate() on Unix now accepts strings whenSerhiy Storchaka2013-02-041-2/+29
| | | | | | | | universal_newlines is true as on Windows.
* | Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()Charles-François Natali2013-01-121-0/+2
|\ \ | |/ | | | | returns ESRCH for a zombie process, which is not POSIX-compliant.
| * Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()Charles-François Natali2013-01-121-0/+2
| | | | | | | | returns ESRCH for a zombie process, which is not POSIX-compliant.
* | fix test for subprocess (#16644)Andrew Svetlov2012-12-261-4/+1
|\ \ | |/
| * fix test for subprocess (#16644)Andrew Svetlov2012-12-261-2/+1
| |
* | Refactor test_preexec_errpipe to not create an uncollectable reference cycle.Gregory P. Smith2012-11-111-19/+18
|\ \ | |/
| * Refactor test_preexec_errpipe to not create an uncollectable reference cycle.Gregory P. Smith2012-11-111-19/+18
| |
* | Fixes issue #16140: The subprocess module no longer double closes itsGregory P. Smith2012-11-111-0/+38
|\ \ | |/ | | | | | | | | | | | | | | child subprocess.PIPE parent file descriptors on child error prior to exec(). This would lead to race conditions in multithreaded programs where another thread opened a file reusing the fd which was then closed out from beneath it by the errant second close.
| * Fixes issue #16140: The subprocess module no longer double closes itsGregory P. Smith2012-11-111-0/+38
| | | | | | | | | | | | | | | | | | child subprocess.PIPE parent file descriptors on child error prior to exec(). This would lead to race conditions in multithreaded programs where another thread opened a file reusing the fd which was then closed out from beneath it by the errant second close.
* | Fixes issue #16327: The subprocess module no longer leaks file descriptorsGregory P. Smith2012-11-111-0/+33
|\ \ | |/ | | | | used for stdin/stdout/stderr pipes to the child when fork() fails.
| * Fixes issue #16327: The subprocess module no longer leaks file descriptorsGregory P. Smith2012-11-111-0/+33
| | | | | | | | used for stdin/stdout/stderr pipes to the child when fork() fails.
* | Fixes Issue #16114: The subprocess module no longer provides aGregory P. Smith2012-10-101-7/+40
|\ \ | |/ | | | | | | | | misleading error message stating that args[0] did not exist when either the cwd or executable keyword arguments specified a path that did not exist.
| * Fixes Issue #16114: The subprocess module no longer provides aGregory P. Smith2012-10-101-7/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | misleading error message stating that args[0] did not exist when either the cwd or executable keyword arguments specified a path that did not exist. It now keeps track of if the child got as far as preexec and reports it if not back to the parent via a special "noexec" error message value in the error pipe so that the cwd can be blamed for a failed chdir instead of the exec of the executable being blamed instead. The executable is also always reported accurately when exec fails. Unittests enhanced to cover these cases.
* | Issue #16170: Remove Linux skip from test_subprocess's test_executable test.Chris Jerdonek2012-10-091-5/+8
| |
* | Issue #16115: Skip a newly added subprocess.Popen() test on Linux.Chris Jerdonek2012-10-091-0/+4
| |
* | Issue #16115: Improve testing of the executable argument to subprocess.Popen().Chris Jerdonek2012-10-081-10/+27
| |
* | revert accidental inclusion of subprocess testsAndrew Svetlov2012-10-061-22/+0
|\ \ | |/
| * revert accidental inclusion of subprocess testsAndrew Svetlov2012-10-061-22/+0
| |
* | Issue #16025: Minor corrections to the zipfile documentation.Andrew Svetlov2012-10-061-0/+22
|\ \ | |/ | | | | Patch by Serhiy Storchaka.
| * Issue #16025: Minor corrections to the zipfile documentation.Andrew Svetlov2012-10-061-0/+22
| | | | | | | | Patch by Serhiy Storchaka.
* | Issue #16115: Add test for check that executable arg to Popen() takes ↵Andrew Svetlov2012-10-051-0/+10
| | | | | | | | precedence over args[0] arg\n \n Patch by Kushal Das
* | Issue #15533: Merge update from 3.2.Chris Jerdonek2012-09-301-0/+2
|\ \ | |/
| * Issue #15533: Skip test_cwd_with_relative_*() tests on Windows pending ↵Chris Jerdonek2012-09-301-0/+2
| | | | | | | | resolution of issue.
* | Issue #15533: Merge fix from 3.2.Chris Jerdonek2012-09-301-29/+94
|\ \ | |/
| * Issue #15533: Clarify docs and add tests for subprocess.Popen()'s cwd argument.Chris Jerdonek2012-09-301-29/+94
| |
* | Issue #15595: Fix subprocess.Popen(universal_newlines=True)Andrew Svetlov2012-08-191-0/+32
|\ \ | |/ | | | | | | | | for certain locales (utf-16 and utf-32 family). Patch by Chris Jerdonek.
| * Issue #15595: Fix subprocess.Popen(universal_newlines=True)Andrew Svetlov2012-08-191-0/+33
| | | | | | | | | | | | for certain locales (utf-16 and utf-32 family). Patch by Chris Jerdonek.
* | Brush subprocess tests a bit.Andrew Svetlov2012-08-191-20/+21
| |
* | Fix subprocess test broken on WindowsAndrew Svetlov2012-08-161-10/+11
| |
* | Add yet another test for subprocess.Popen.communicateAndrew Svetlov2012-08-151-0/+28
| |
* | Issue #15592. Fix regression: subprocess.communicate() breaks on no input ↵Andrew Svetlov2012-08-141-2/+12
|\ \ | |/ | | | | | | | | with universal newlines true. Patch by Chris Jerdonek.
| * Add test to explicit check the absence regression in subprocess (issue #15592).Andrew Svetlov2012-08-141-0/+12
| | | | | | | | Patch by Chris Jerdonek.
* | Merge universal newlines-related fixes (issue #13119)Antoine Pitrou2012-08-041-26/+28
|\ \ | |/
| * Fix universal newlines test to avoid the newline translation done by sys.stdout.Antoine Pitrou2012-08-041-26/+28
| |
* | Implemented PEP 405 (Python virtual environments).Vinay Sajip2012-05-261-0/+4
| |
* | Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under ↵Antoine Pitrou2012-03-111-0/+67
|\ \ | |/ | | | | Windows when the child process has already exited.
| * Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under ↵Antoine Pitrou2012-03-111-0/+67
| | | | | | | | Windows when the child process has already exited.
* | Fix sporadic test_subprocess regression introduced by 834650d63130.Ross Lagerwall2012-02-221-2/+2
| |
* | Merge 3.2: Issue #13703 plus some related test suite fixes.Georg Brandl2012-02-201-1/+1
|\ \ | |/