History log of /external/python/cpython2/Lib/test/test_subprocess.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ad6a99c0111a9291b5b0c09507cd821e9c4937fb 10-Sep-2016 Martin Panter <vadmium+py@gmail.com> Correct print() calls to print a blank line in various test cases
/external/python/cpython2/Lib/test/test_subprocess.py
1edccfa60a8f09ccf6b771141e28e7184f03a57b 13-May-2016 Martin Panter <vadmium+py@gmail.com> Issue #22274: Redirect stderr=STDOUT when stdout not redirected, by Akira Li
/external/python/cpython2/Lib/test/test_subprocess.py
b7c3515308a78a9f9ac31f0e7ec8fec3d2f0fb4c 28-Sep-2015 Berker Peksag <berker.peksag@gmail.com> Issue #25249: Remove unneeded mkstemp helper in test_subprocess

The helper was added in 76641824cf05 11 years ago and it can be
removed now since all supported Python versions have tempfile.mkstemp().

Patch by Nir Soffer.
/external/python/cpython2/Lib/test/test_subprocess.py
33fc744ea34f06ae185a28ab22f36130e6d3f5b9 30-Aug-2013 Antoine Pitrou <solipsis@pitrou.net> Issue #18851: Avoid a double close of subprocess pipes when the child process fails starting.
/external/python/cpython2/Lib/test/test_subprocess.py
045e4579928768c0c40ae174aaa3bec1a53dc431 10-Jun-2013 Richard Oudkerk <shibturn@gmail.com> Issue #18174: Fix fd leaks in tests.
/external/python/cpython2/Lib/test/test_subprocess.py
9b9cd4c85e5f712e365cc54fff78b09a1c14a19c 11-Mar-2013 Ezio Melotti <ezio.melotti@gmail.com> #11963: fix Windows buildbots.
/external/python/cpython2/Lib/test/test_subprocess.py
efaad09c9a0358bccdab5f7d607ef8d326c51515 10-Mar-2013 Ezio Melotti <ezio.melotti@gmail.com> #11963: remove human verification from test_subprocess.
/external/python/cpython2/Lib/test/test_subprocess.py
ef2bd67e2364ef92dab03442c07864a3a5e90b85 12-Jan-2013 Charles-François Natali <cf.natali@gmail.com> Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
returns ESRCH for a zombie process, which is not POSIX-compliant.
/external/python/cpython2/Lib/test/test_subprocess.py
027d6fcebd165ff9589b20f6a23acc8c054be6d0 11-Nov-2012 Gregory P. Smith <greg@krypto.org> remove an obsolete comment
/external/python/cpython2/Lib/test/test_subprocess.py
f047ba83e848104cf45cd08e6c2cc664d972b739 11-Nov-2012 Gregory P. Smith <greg@krypto.org> Refactor test_preexec_errpipe to not create an uncollectable reference cycle.
/external/python/cpython2/Lib/test/test_subprocess.py
c3197254acdbf2d9b8a86b68441b9b07fc85d0a4 11-Nov-2012 Gregory P. Smith <greg@krypto.org> whitespace fix
/external/python/cpython2/Lib/test/test_subprocess.py
211248b2148472812451b1d294cfb0e2a527dc94 11-Nov-2012 Gregory P. Smith <greg@krypto.org> Fix issue #16140 bug that the fix to issue #16327 added - don't double
close subprocess.PIPE file descriptors when the child encounters an
error prior to exec.
/external/python/cpython2/Lib/test/test_subprocess.py
9d3b6e9822334a918b0130b23a44a467f40fdb42 11-Nov-2012 Gregory P. Smith <greg@krypto.org> Fixes issue #16327: The subprocess module no longer leaks file descriptors
used for stdin/stdout/stderr pipes to the child when fork() fails.
/external/python/cpython2/Lib/test/test_subprocess.py
313dc9b8126186097f74b91d8333dab450b9786e 07-Oct-2012 Mark Dickinson <mdickinson@enthought.com> Clean up a test turd.
/external/python/cpython2/Lib/test/test_subprocess.py
f60845b70a78c0e29dc0e865c6cd9e2e35e635f5 11-Mar-2012 Antoine Pitrou <solipsis@pitrou.net> Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited.
/external/python/cpython2/Lib/test/test_subprocess.py
8b59c23a54a053673c07c6939cccef096d856103 10-Dec-2011 Benjamin Peterson <benjamin@python.org> you can't get resource.error if you can't import resource
/external/python/cpython2/Lib/test/test_subprocess.py
2a34eb31040ad3eb2f09e22a0237afa98755390d 25-Aug-2011 Charles-François Natali <neologix@free.fr> Issue #12786: Set communication pipes used by subprocess.Popen CLOEXEC to avoid
them being inherited by other subprocesses.
/external/python/cpython2/Lib/test/test_subprocess.py
860593653b119f16791456398b1dadcdb71aa9aa 19-Aug-2011 Nadeem Vawda <nadeem.vawda@gmail.com> Fix resource leaks in test_subprocess.
/external/python/cpython2/Lib/test/test_subprocess.py
a8085d306e9267f6d91d2452c21da5e22f49328a 19-Aug-2011 Charles-François Natali <neologix@free.fr> Issue #12650: fix failures on some buildbots, when a subprocess takes a long
time to spawn.
/external/python/cpython2/Lib/test/test_subprocess.py
100df0f2b0f3b386cf4a03f2eb803df23ca430a6 18-Aug-2011 Charles-François Natali <neologix@free.fr> Issue #12650: only run the tests on Unix.
/external/python/cpython2/Lib/test/test_subprocess.py
b02302c5cf2c25be71fc23db15a1cd27fc517075 18-Aug-2011 Charles-François Natali <neologix@free.fr> Issue #12650: Fix a race condition where a subprocess.Popen could leak
resources (FD/zombie) when killed at the wrong time.
/external/python/cpython2/Lib/test/test_subprocess.py
d8e3901478b0ddf0b2c6cb2094a3d74f0168e4bf 27-Jul-2011 Ross Lagerwall <rosslagerwall@gmail.com> Issue #12607: In subprocess, fix issue where if stdin, stdout or stderr is
given as a low fd, it gets overwritten.
/external/python/cpython2/Lib/test/test_subprocess.py
b78fed9ee6c74d1e0a6e30d3b73b4f44061e647f 05-Jul-2011 Victor Stinner <victor.stinner@haypocalc.com> Issue #12493: skip test_communicate_eintr() if signal.SIGALRM is missing
/external/python/cpython2/Lib/test/test_subprocess.py
e790131dc6f2e4c125f29c882e64f3c88a4210d1 05-Jul-2011 Victor Stinner <victor.stinner@haypocalc.com> Issue #12493: subprocess: communicate() handles EINTR

subprocess.Popen.communicate() now also handles EINTR errors if the process has
only one pipe.
/external/python/cpython2/Lib/test/test_subprocess.py
e9b185f26318e7ff34bd8ec36a509cd85106d696 01-Jun-2011 Victor Stinner <victor.stinner@haypocalc.com> Issue #12085: Fix test_subprocess for my previous commit

Replace support by test_support, and add captured_stderr() function.
/external/python/cpython2/Lib/test/test_subprocess.py
776e69b5b37a9f0678f2759c145ed26368aaba3f 01-Jun-2011 Victor Stinner <victor.stinner@haypocalc.com> Close #12085: Fix an attribute error in subprocess.Popen destructor if the
constructor has failed, e.g. because of an undeclared keyword argument. Patch
written by Oleg Oshmyan.
/external/python/cpython2/Lib/test/test_subprocess.py
104c3f1020213fc2d0a5da6b23d72dd042d6c413 05-Apr-2011 Ross Lagerwall <rosslagerwall@gmail.com> Issue #10963: Ensure that subprocess.communicate() never raises EPIPE.
/external/python/cpython2/Lib/test/test_subprocess.py
cdd5fc90137023c9d2de336531b281f31740358f 14-Mar-2011 R David Murray <rdmurray@bitdance.com> #11490: EACCES can also mean command not found
/external/python/cpython2/Lib/test/test_subprocess.py
91ce0d933c1a993db23994c1ea53d7a666dce96c 03-Jan-2011 Antoine Pitrou <solipsis@pitrou.net> Merged revisions 87695 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r87695 | antoine.pitrou | 2011-01-03 19:23:55 +0100 (lun., 03 janv. 2011) | 5 lines

Issue #10806, issue #9905: Fix subprocess pipes when some of the standard
file descriptors (0, 1, 2) are closed in the parent process. Initial
patch by Ross Lagerwall.
........
/external/python/cpython2/Lib/test/test_subprocess.py
312efbc1158a15cb877d8bb078c19f95b23596e6 14-Dec-2010 Gregory P. Smith <greg@mad-scientist.com> Merged revisions 87233 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r87233 | gregory.p.smith | 2010-12-14 06:38:00 -0800 (Tue, 14 Dec 2010) | 4 lines

Issue #1731717: Fixed the problem where subprocess.wait() could cause an
OSError exception when The OS had been told to ignore SIGCLD in our process
or otherwise not wait for exiting child processes.
........
/external/python/cpython2/Lib/test/test_subprocess.py
7fe045ef00c5bf7c6ce00ec6e2d6c88a1b570979 05-Nov-2010 Brian Curtin <brian.curtin@gmail.com> Merged revisions 86207 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r86207 | brian.curtin | 2010-11-05 12:09:05 -0500 (Fri, 05 Nov 2010) | 2 lines

Fix a number of ResourceWarnings on Windows due to open pipes.
........
/external/python/cpython2/Lib/test/test_subprocess.py
d117b562ed105c9a3871e5c9a54fe72b2a08739f 05-Nov-2010 Brian Curtin <brian.curtin@gmail.com> Merged revisions 86185 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r86185 | brian.curtin | 2010-11-04 22:58:52 -0500 (Thu, 04 Nov 2010) | 2 lines

Add cleanups to stdout/stderr pipes to remove ResourceWarnings.
........
/external/python/cpython2/Lib/test/test_subprocess.py
dee0097fe418c066433bc55b90811f0beae0475c 24-Sep-2010 Antoine Pitrou <solipsis@pitrou.net> Merged revisions 84997 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r84997 | antoine.pitrou | 2010-09-24 20:57:01 +0200 (ven., 24 sept. 2010) | 3 lines

Make _kill_process more robust under Windows too (see issue #8432)
........
/external/python/cpython2/Lib/test/test_subprocess.py
a6166dac9452140fd76f4f94f8d0334719d78641 20-Sep-2010 Antoine Pitrou <solipsis@pitrou.net> Merged revisions 84909-84913 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r84909 | antoine.pitrou | 2010-09-20 00:46:05 +0200 (lun., 20 sept. 2010) | 3 lines

Try to fix test_subprocess on "x86 debian parallel 3.x" buildbot
........
r84910 | antoine.pitrou | 2010-09-20 01:06:53 +0200 (lun., 20 sept. 2010) | 3 lines

Try to make signal-sending tests in test_subprocess more robust on slow machines
........
r84911 | antoine.pitrou | 2010-09-20 01:28:30 +0200 (lun., 20 sept. 2010) | 3 lines

Make error more explicit in test_finalize_with_trace
........
r84912 | antoine.pitrou | 2010-09-20 02:12:19 +0200 (lun., 20 sept. 2010) | 3 lines

Try to fix buildbot failure (#9902)
........
r84913 | antoine.pitrou | 2010-09-20 03:33:21 +0200 (lun., 20 sept. 2010) | 3 lines

Try a more robust implementation of _kill_process
........
/external/python/cpython2/Lib/test/test_subprocess.py
b0b3bffe8b51c96f24095bdbf26b67c31403cd31 19-Sep-2010 Antoine Pitrou <solipsis@pitrou.net> Merged revisions 84883 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r84883 | antoine.pitrou | 2010-09-19 00:38:48 +0200 (dim., 19 sept. 2010) | 3 lines

Issue #9895: speed up test_subprocess
........
/external/python/cpython2/Lib/test/test_subprocess.py
767cbc41b44b9f590c6c13e63749ed24de9d7fa3 18-Sep-2010 Antoine Pitrou <solipsis@pitrou.net> Merged revisions 84878 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r84878 | antoine.pitrou | 2010-09-18 19:56:02 +0200 (sam., 18 sept. 2010) | 5 lines

Issue #9894: Do not hardcode ENOENT in test_subprocess.

(GNU/Hurd is not dead)
........
/external/python/cpython2/Lib/test/test_subprocess.py
e8c4920e4cd0f652036127709c02d2147596ba76 13-Aug-2010 Brian Curtin <brian.curtin@gmail.com> Merged revisions 83983 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r83983 | brian.curtin | 2010-08-13 15:42:57 -0500 (Fri, 13 Aug 2010) | 3 lines

Fix #9588. Add sys.executable to two shell=True tests.
........
/external/python/cpython2/Lib/test/test_subprocess.py
8e4756c7635cda029e75d3c9ad6daefce3a707e6 12-Aug-2010 Tim Golden <mail@timgolden.me.uk> #2304: fix incorporating Eric Smith's .format suggestion and tested on Ubuntu as well as Windows
/external/python/cpython2/Lib/test/test_subprocess.py
718f22237233dfa58f5e575e7e80cdb7344f8807 08-Aug-2010 Benjamin Peterson <benjamin@python.org> revert 83832; unix test breakage
/external/python/cpython2/Lib/test/test_subprocess.py
6fe8c41e8ff4d87fd6bb1bc9ae67d0f49b5073f4 08-Aug-2010 Tim Golden <mail@timgolden.me.uk> Issue #2304: Add additional quotes when using cmd shell on Windows. Original patch from Gabriel Genellina
/external/python/cpython2/Lib/test/test_subprocess.py
90374f510223f559a70dcd762e223762d4f2ad85 06-Aug-2010 Tim Golden <mail@timgolden.me.uk> Issue #3210: Ensure stdio handles are closed if CreateProcess fails
/external/python/cpython2/Lib/test/test_subprocess.py
21b44e0ea2f7af6efca3c8c91e40c820cf296f91 23-Jul-2010 Ronald Oussoren <ronaldoussoren@mac.com> Merged revisions 83067 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r83067 | ronald.oussoren | 2010-07-23 10:50:05 +0100 (Fri, 23 Jul 2010) | 8 lines

Workaround for issue 4047: in some configurations of
the Crash Reporter on OSX test_subprocess will trigger
the reporter.

This patch prints a warning when the Crash Reporter will
get triggered intentionally, which should avoid confusing
people.
........
/external/python/cpython2/Lib/test/test_subprocess.py
e9a6a7dd4c19d2630ff1d24ce6d9f30879138e81 19-Jul-2010 Stefan Krah <stefan@bytereef.org> Issue #9265: Incorrect name passed as arg[0] when shell=True
and executable specified.
/external/python/cpython2/Lib/test/test_subprocess.py
b33f0c1ccdab9a774a644ff928c3663685d6fd20 18-Jun-2010 Jean-Paul Calderone <exarkun@divmod.com> Revert r60115

This revision introduced quoting for strings containing | based
on a misunderstanding of the commonly used quoting rules used
on Windows.

| is interpreted by cmd.exe, not by the MS C runtime argv initializer.
It only needs to be quoted if it is part of an argument passed through
cmd.exe.

See issue1300, issue7839, and issue8972.
/external/python/cpython2/Lib/test/test_subprocess.py
3c919cf140170a03c20ec68a8fe63586b718d057 23-Mar-2010 Florent Xicluna <florent.xicluna@gmail.com> The SIGINT signal may happen earlier, during site.py initialization.
/external/python/cpython2/Lib/test/test_subprocess.py
446ff14827e9ef7373f5170f33e4913c4ab10025 23-Mar-2010 Florent Xicluna <florent.xicluna@gmail.com> The standard error should be empty when the signal is killed, except on SIGINT.
/external/python/cpython2/Lib/test/test_subprocess.py
fc4d6d77630384ae8ea85deef59ecdda613fdfc1 23-Mar-2010 Florent Xicluna <florent.xicluna@gmail.com> Silence test_subprocess.
/external/python/cpython2/Lib/test/test_subprocess.py
637637021a52d083f47dfdd6dd0cc16e31696409 11-Mar-2010 Florent Xicluna <florent.xicluna@gmail.com> Revert r78830: realpath() should really be applied to sys.executable.
/external/python/cpython2/Lib/test/test_subprocess.py
e58d91c8f009813dce18711d85f941dc87a7ac5f 11-Mar-2010 Florent Xicluna <florent.xicluna@gmail.com> Fix the test_subprocess failure when sys.executable is meaningless: '' or a directory.
It does not fix #7774.
/external/python/cpython2/Lib/test/test_subprocess.py
faf175385de454a99edef26986637fc80c8aaba7 08-Mar-2010 Florent Xicluna <florent.xicluna@gmail.com> Replace the stderr logging with assertNotEqual(returncode, 0).
/external/python/cpython2/Lib/test/test_subprocess.py
400efc22591c33b1d6fb077d98661a9b9adbcaf8 07-Mar-2010 Florent Xicluna <florent.xicluna@gmail.com> #2777: Try hard to make Win7 buildbot happy...
/external/python/cpython2/Lib/test/test_subprocess.py
c083864fc8a03a045dfc0200e8456996395ad4dc 07-Mar-2010 Florent Xicluna <florent.xicluna@gmail.com> Do not fail if returncode is 0 on send_signal/kill/terminate, for win32 platforms.
Do not hide the KeyboardInterrupt on POSIX platforms.
/external/python/cpython2/Lib/test/test_subprocess.py
c02bbe328df8d0edf646c56fb4b7748a54500e6c 07-Mar-2010 Florent Xicluna <florent.xicluna@gmail.com> #2777: Enable test_send_signal, test_terminate and test_kill on win32 platforms.
/external/python/cpython2/Lib/test/test_subprocess.py
632df993dc638428e69b9b236477e97b70707753 06-Mar-2010 Florent Xicluna <florent.xicluna@gmail.com> Skip test_send_signal, test_kill, test_terminate on win32 platforms, for 2.7a4 release.
/external/python/cpython2/Lib/test/test_subprocess.py
aa90db947777d7534eb47f5b3184e87d0901fc63 06-Mar-2010 Florent Xicluna <florent.xicluna@gmail.com> #2777: Apply same recipe on win32, i.e. do not inherit file handles.
/external/python/cpython2/Lib/test/test_subprocess.py
af9a06a77fddfc304ecfcde8464bb995dfcdb25d 06-Mar-2010 Florent Xicluna <florent.xicluna@gmail.com> #2777: Apply same recipe for test_terminate and test_kill, i.e. close or redirect fds.
/external/python/cpython2/Lib/test/test_subprocess.py
cecef392f103efceeedcdf48d4eccb01e859df43 05-Mar-2010 Florent Xicluna <florent.xicluna@gmail.com> #2777: Handle fds more carefully to try to fix some x86-Linux failures (namely, neal bot and twisted bot).
/external/python/cpython2/Lib/test/test_subprocess.py
7272acfabe0c232f17d8b88cb23b14a71ecdb5d7 05-Mar-2010 Florent Xicluna <florent.xicluna@gmail.com> These line should not be there.
/external/python/cpython2/Lib/test/test_subprocess.py
d6935631daf3c0da5db624ecb4d823d7a8b9b7a7 05-Mar-2010 Florent Xicluna <florent.xicluna@gmail.com> Let's use assertIsNone / assertIsNotNone. It's hype.
/external/python/cpython2/Lib/test/test_subprocess.py
80e0e2d2d8e648f89e216a6fbcd9b96122a3fa69 05-Mar-2010 Florent Xicluna <florent.xicluna@gmail.com> Workaround #3137: Retry SIGINT if it is not received the first time.
test_send_signal should not hang anymore on various Linux distributions.
/external/python/cpython2/Lib/test/test_subprocess.py
ab5e17f8964bfb9b73566180e27410520d2391d4 04-Mar-2010 Florent Xicluna <florent.xicluna@gmail.com> #2777: Enable test_send_signal, test_kill and test_terminate on all platforms.
/external/python/cpython2/Lib/test/test_subprocess.py
bab22a7c6d3c740fe839f5bcac9cee9f22fd28d3 04-Mar-2010 Florent Xicluna <florent.xicluna@gmail.com> Cleanup.
/external/python/cpython2/Lib/test/test_subprocess.py
c1baf4ac9ee17bbd2433533cd246db5d96bad015 01-Mar-2010 Gregory P. Smith <greg@mad-scientist.com> Fix the new test on windows (skip it, its posix only)
/external/python/cpython2/Lib/test/test_subprocess.py
cce211f88c3d23bbd37f5769e3addd9b6b9fa96e 01-Mar-2010 Gregory P. Smith <greg@mad-scientist.com> Issue #1068268: The subprocess module now handles EINTR in internal
os.waitpid and os.read system calls where appropriate.
/external/python/cpython2/Lib/test/test_subprocess.py
78fd521f1a233016af31ebd37eee31a094236041 27-Feb-2010 Florent Xicluna <florent.xicluna@gmail.com> Fix an oversight in r78508: p.wait() should be compared to 0
/external/python/cpython2/Lib/test/test_subprocess.py
98e3fc39bf8ee3e81560bba57b723af850e464e7 27-Feb-2010 Florent Xicluna <florent.xicluna@gmail.com> Clean test_subprocess: use assertRaises, skipIf, skipUnless helpers and a custom helper assertStderrEqual.
/external/python/cpython2/Lib/test/test_subprocess.py
8f6a28702961430a2217be64d9d53e2ea490f1b3 10-Feb-2010 Ezio Melotti <ezio.melotti@gmail.com> #7712: add a temp_cwd context manager to test_support and use it in regrtest to run all the tests in a temporary directory, saving the original CWD in test_support.SAVEDCWD. Thanks to Florent Xicluna who helped with the patch.
/external/python/cpython2/Lib/test/test_subprocess.py
aa98058cc44ba20f35c106d20918c6196b737561 24-Jan-2010 Ezio Melotti <ezio.melotti@gmail.com> use assert[Not]In where appropriate
/external/python/cpython2/Lib/test/test_subprocess.py
ce32eb7406baf7a51f7764a7c6ce245dd99dabe9 10-Jul-2009 Amaury Forgeot d'Arc <amauryfa@gmail.com> #6416: Fix compilation of the select module on Windows, as well as test_subprocess:
PIPE_BUF is not defined on Windows, and probably has no meaning there.

Anyway the subprocess module uses another way to perform non-blocking reads (with a thread)
/external/python/cpython2/Lib/test/test_subprocess.py
dd7ca24eb5c68ae72df13b8b987bff7b90235044 04-Jul-2009 Gregory P. Smith <greg@mad-scientist.com> Use select.poll() in subprocess, when available, rather than select() so that
it does not fail when file descriptors are large. Fixes issue3392.

Patch largely contributed by Frank Chu (fpmc) with some improvements by me.
See http://bugs.python.org/issue3392.

Candidate for backporting to release26-maint as it is a bug fix and changes no
public API.
/external/python/cpython2/Lib/test/test_subprocess.py
5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e 01-Jul-2009 Benjamin Peterson <benjamin@python.org> convert usage of fail* to assert*
/external/python/cpython2/Lib/test/test_subprocess.py
f3715d2fc72e191c58c76e1eba92f6bc0a5a0e9d 14-Feb-2009 Georg Brandl <georg@python.org> #5179: don't leak PIPE fds when child execution fails.
/external/python/cpython2/Lib/test/test_subprocess.py
26576801a683fba28e66fca4759fdc327e87ea3e 05-Dec-2008 Gregory P. Smith <greg@mad-scientist.com> rename the new check_call_output to check_output. its less ugly.
/external/python/cpython2/Lib/test/test_subprocess.py
97f49f4be7ab6d4b570029be4b4439cc29be2f74 04-Dec-2008 Gregory P. Smith <greg@mad-scientist.com> Adds a subprocess.check_call_output() function to return the output from a
process on success or raise an exception on error.
/external/python/cpython2/Lib/test/test_subprocess.py
4036fd4b752f744d455f592a83b4a1e36cd77a86 26-May-2008 Gregory P. Smith <greg@mad-scientist.com> Fixes issue2791: subprocess.Popen.communicate leaked a file descripton until
the last reference to the Popen instance was dropped. Adding explicit
close() calls fixes it.

Candidate for backport to release25-maint.
/external/python/cpython2/Lib/test/test_subprocess.py
af8a68733fe2e24384e7105745c504243ab8db29 17-May-2008 Gregory P. Smith <greg@mad-scientist.com> fix issue2381: test_subprocess fails if your sys.executable is on a
path with a space in it.
/external/python/cpython2/Lib/test/test_subprocess.py
c2ca6db1434e5f7e4699f0f0db1ee08a35b3fb5b 07-May-2008 Christian Heimes <christian@cheimes.de> Disabled some unit tests for the upcoming release. See #2777
/external/python/cpython2/Lib/test/test_subprocess.py
e74c8f2879159367eded0933c9f89b9315f07df8 19-Apr-2008 Christian Heimes <christian@cheimes.de> Added kill, terminate and send_signal to subprocess.Popen
The bits and pieces for the Windows side were already in place. The POSIX side is trivial (as usual) and uses os.kill().
/external/python/cpython2/Lib/test/test_subprocess.py
70eb2f91b45e126ca8219d965b1d14968b0405cc 19-Jan-2008 Gregory P. Smith <greg@mad-scientist.com> Fix issue 1300: Quote command line arguments that contain a '|' character in
subprocess.list2cmdline (windows).
/external/python/cpython2/Lib/test/test_subprocess.py
e047e6dd092a7d8f512914de78a8193ba6c518c4 19-Jan-2008 Gregory P. Smith <greg@mad-scientist.com> fix comment typos, use not arg instead of arg == "", add test coverage
for inside of the final if needquotes: within subprocess.list2cmdline().
/external/python/cpython2/Lib/test/test_subprocess.py
e9a0e885db9b731a47e8c89204db0a6901de237e 20-Dec-2007 Guido van Rossum <guido@python.org> Patch #1672 by Joseph Armbruster. Use tempdir() to get a temporary directory.
/external/python/cpython2/Lib/test/test_subprocess.py
81a191b3510bbed302cb0a766bc6966cb4effaca 27-May-2007 Peter Astrand <astrand@lysator.liu.se> Applied patch 1669481, slightly modified: Support close_fds on Win32
/external/python/cpython2/Lib/test/test_subprocess.py
10514a70ace6ba5b67d2b34dc4c0738d30f51226 13-Jan-2007 Peter Astrand <astrand@lysator.liu.se> Fix for bug #1634343: allow specifying empty arguments on Windows
/external/python/cpython2/Lib/test/test_subprocess.py
c36bede6ff404895d568fc4ba1875c4f9ef8a1f4 07-Sep-2006 Gustavo Niemeyer <gustavo@niemeyer.net> Fixed subprocess bug #1531862 again, after removing tests
offending buildbot
/external/python/cpython2/Lib/test/test_subprocess.py
314bef9fffff461444e56ccc97655bdf11e94a74 06-Sep-2006 Neal Norwitz <nnorwitz@gmail.com> Revert 51758 because it broke all the buildbots
/external/python/cpython2/Lib/test/test_subprocess.py
8cb64eaaf38aecea67901dc4ecb2149805356a99 06-Sep-2006 Gustavo Niemeyer <gustavo@niemeyer.net> Fixing #1531862: Do not close standard file descriptors in the
subprocess module.
/external/python/cpython2/Lib/test/test_subprocess.py
4edcba69f34ffa09e7e1cc911ee36cbd3fbc14ec 02-Aug-2006 Tim Peters <tim.peters@gmail.com> Whitespace normalization.
/external/python/cpython2/Lib/test/test_subprocess.py
86e1e38059c7f2a1d8bdc4123a1600bc7b7a0f79 01-Aug-2006 Andrew M. Kuchling <amk@amk.ca> [Patch #1520905] Attempt to suppress core file created by test_subprocess.py.
Patch by Douglas Greiman.

The test_run_abort() testcase produces a core file on Unix systems,
even though the test is successful. This can be confusing or alarming
to someone who runs 'make test' and then finds that the Python
interpreter apparently crashed.
/external/python/cpython2/Lib/test/test_subprocess.py
7d1d43630e117fdc3ccb0a8c6a9b31ab7d443016 14-Jul-2006 Peter Astrand <astrand@lysator.liu.se> Bug #1223937: CalledProcessError.errno -> CalledProcessError.returncode.
/external/python/cpython2/Lib/test/test_subprocess.py
2b221ed6577809c4cc5cfd53963651af247cf546 10-Jul-2006 Peter Astrand <astrand@lysator.liu.se> Make it possible to run test_subprocess.py with Python 2.2, which lacks test_support.reap_children().
/external/python/cpython2/Lib/test/test_subprocess.py
38ff36c4ccde02b104553ef1ed979c1261196b48 30-Jun-2006 Tim Peters <tim.peters@gmail.com> Whitespace normalization.
/external/python/cpython2/Lib/test/test_subprocess.py
b15ac3169d5958e294e09f8daeab0f413e76d0a3 29-Jun-2006 Neal Norwitz <nnorwitz@gmail.com> Add new utility function, reap_children(), to test_support. This should
be called at the end of each test that spawns children (perhaps it
should be called from regrtest instead?). This will hopefully prevent
some of the unexplained failures in the buildbots (hppa and alpha)
during tests that spawn children. The problems were not reproducible.
There were many zombies that remained at the end of several tests.
In the worst case, this shouldn't cause any more problems,
though it may not help either. Time will tell.
/external/python/cpython2/Lib/test/test_subprocess.py
d6b2430b7a99110119743b8529b66c39d1fed722 22-Jun-2006 Peter Astrand <astrand@lysator.liu.se> Make it possible to run test_subprocess.py on Python 2.2, which lacks test_support.is_resource_enabled.
/external/python/cpython2/Lib/test/test_subprocess.py
a6d01cec3ff3b945565653f96141c693af639924 02-May-2006 Neal Norwitz <nnorwitz@gmail.com> Try to fix breakage caused by patch #1479181, r45850
/external/python/cpython2/Lib/test/test_subprocess.py
c4edb0ec81f437b84a4011e3a375892d48d0bd6c 02-May-2006 Neal Norwitz <nnorwitz@gmail.com> SF #1479181: split open() and file() from being aliases for each other.
/external/python/cpython2/Lib/test/test_subprocess.py
eba28bea9b8ef7df010e65c630b8c0f7009c6005 28-Mar-2005 Tim Peters <tim.peters@gmail.com> Whitespace normalization.
/external/python/cpython2/Lib/test/test_subprocess.py
653a5adcca68d445b21dd2a640627f0f0185204a 05-Mar-2005 Brett Cannon <bcannon@gmail.com> Tweak test_communicate_stderr so that it works when run under a pydebug build.
/external/python/cpython2/Lib/test/test_subprocess.py
f7f1bb7ff5039626c856efafb68a4d338ab96642 03-Mar-2005 Peter Astrand <astrand@lysator.liu.se> Only run extensive subprocess tests if -usubprocess to regrtest is specified. Fixes #1124637
/external/python/cpython2/Lib/test/test_subprocess.py
cbac93c2293dd2cc6f10b31e91eaa1a502822704 03-Mar-2005 Peter Astrand <astrand@lysator.liu.se> Added three more testcases: Using communicate with only one of
stdin/stdout/stderr redirected.
/external/python/cpython2/Lib/test/test_subprocess.py
454f76711c14f0a55119601bfe56a1ab5d2c0e04 01-Jan-2005 Peter Astrand <astrand@lysator.liu.se> New subprocess utility function: check_call. Closes #1071764.
/external/python/cpython2/Lib/test/test_subprocess.py
738131d39130563ad75e73ed544e2a3edbae64f2 30-Nov-2004 Peter Astrand <astrand@lysator.liu.se> Raise TypeError if bufsize argument is not an integer. Patch 1071755, slightly modified.
/external/python/cpython2/Lib/test/test_subprocess.py
2224be64dc1d62906ec1b3c1ab2a4986212c68ed 17-Nov-2004 Peter Astrand <astrand@lysator.liu.se> Remove tempfile after use in test_call_string.
In test_args_string, remove the tempfile before assertEqual.
/external/python/cpython2/Lib/test/test_subprocess.py
195404ff900cc7bb72517c4dbdda5b203b4c8b3c 12-Nov-2004 Peter Astrand <astrand@lysator.liu.se> Use os.chdir/os.getcwd instead of os.path.realpath, to support Tru64
TEMP dirs with {memb} strings. Fixes #1063571.
/external/python/cpython2/Lib/test/test_subprocess.py
c19ccc9f1137bceb830a635a199b0798cc6d3932 21-Oct-2004 Peter Astrand <astrand@lysator.liu.se> Removed test_close_fds, because it's too unreliable. We simply cannot
know that the newly-started Python process only has 3 filedescriptors
open. Fixes bug 1048808.
/external/python/cpython2/Lib/test/test_subprocess.py
1dbf2434d57566f831122b781d90c67536552548 14-Oct-2004 Tim Peters <tim.peters@gmail.com> remove_stderr_debug_decorations(): Always try the substitution. Else
this test failed under the combination of passing -O to a debug-build
Python. Now all 4 of those pass ({debug, release} x {-O, no -O}).
/external/python/cpython2/Lib/test/test_subprocess.py
9e29fc584c28111a8727d9c02082c53aae8c4121 13-Oct-2004 Fredrik Lundh <fredrik@pythonware.com> Don't spend quite as much time looking for leaks on Windows, where
it's rather expensive to create new processes.
/external/python/cpython2/Lib/test/test_subprocess.py
59c05595546ff317f6ffa317b3232b5f6f54c9e2 13-Oct-2004 Fredrik Lundh <fredrik@pythonware.com> normalize case when comparing directory names (problem reported by
"Khalid A. B." on python-dev)
/external/python/cpython2/Lib/test/test_subprocess.py
3761e8dd6600d1f93c9ba8a013aa5ba51ed6640b 13-Oct-2004 Tim Peters <tim.peters@gmail.com> New helper remove_stderr_debug_decorations(). This test passes in a
debug build on Windows now. More applications of the helper may be needed
on non-Windows platforms.
/external/python/cpython2/Lib/test/test_subprocess.py
29b6b4f7c75121a69e260753e1b8befaee3b06df 13-Oct-2004 Tim Peters <tim.peters@gmail.com> Kill several problems at once: test_poll() failed sometimes for me.
Turns out the mysterious "expected output" file contained exactly N dots,
because test_poll() has a loop that *usually* went around N times,
printing one dot on each loop trip. But there's no guarantee of that,
because the exact value of N depended on the vagaries of scheduling
time.sleep()s across two different processes. So stopped printing dots,
and got rid of the expected output file. Add a loop counter instead,
and verify that the loop goes around at least a couple of times. Also
cut the minimum time needed for this test from 4 seconds to 1.
/external/python/cpython2/Lib/test/test_subprocess.py
4052fe5a9bb5de0e142f138c00a263d2fe44f552 13-Oct-2004 Tim Peters <tim.peters@gmail.com> test_stdout_none(): Don't print "banana" to the screen in the middle
of the test. It's testing stdout in a different process, so it has to
print something, but I didn't find "banana" to be self-explanatory.
/external/python/cpython2/Lib/test/test_subprocess.py
876c43245ea0a42090636222c02ccf359e4f5aa8 13-Oct-2004 Tim Peters <tim.peters@gmail.com> Windows test_creationflags() test: print msg to stderr informing the
tester that a DOS box is expected to flash. Slash the sleep from 2
seconds to a quarter second (why would we want to wait 2 seconds just
to stare at a DOS box?).
/external/python/cpython2/Lib/test/test_subprocess.py
f73cc9714fdd4e845fd3072ad76a56439c689656 13-Oct-2004 Tim Peters <tim.peters@gmail.com> XXX about extreme expense of test_no_leaking() on Windows. I'm not sure
what this is trying to do. If it's necessary for it to create > 1000
processes, it should be controlled by a new resource and not run by
default on Windows.
/external/python/cpython2/Lib/test/test_subprocess.py
7b759da1b8d1ce870ff77c34250f983a73f75b32 13-Oct-2004 Tim Peters <tim.peters@gmail.com> Experience with Zope2's tests showed it's a Bad Idea to make unittest
display a test's docstring as "the name" of the test. So changed most
test docstrings to comments, and removed the clearly useless ones. Now
unittest reports the actual names of the test methods.
/external/python/cpython2/Lib/test/test_subprocess.py
3b01a70f76377b5692279fc2ed35c4e601cc9b03 13-Oct-2004 Tim Peters <tim.peters@gmail.com> Wrap long lines.
/external/python/cpython2/Lib/test/test_subprocess.py
e718f615b8365f331f9f9038d1273ba370e44a06 12-Oct-2004 Tim Peters <tim.peters@gmail.com> Whitespace normalization.
/external/python/cpython2/Lib/test/test_subprocess.py
5b3687df2e6dce2c09662ec9287e8f23075c4f1d 12-Oct-2004 Fredrik Lundh <fredrik@pythonware.com> Added Peter Astrand's subprocess module.
/external/python/cpython2/Lib/test/test_subprocess.py