Message110371
Here's a patch with a test case. Without the fix in subprocess.py,
the test prints:
======================================================================
FAIL: test_specific_shell (__main__.POSIXProcessTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib/test/test_subprocess.py", line 650, in test_specific_shell
self.assertEqual(p.stdout.read().strip(), sh)
AssertionError: '/bin/sh' != '/bin/bash'
I think trying bash and ksh is sufficient; "echo $0" works for both
(for csh it does not). David, does the patch look good?
Éric, I'm by no means a tracker expert, so I wonder why you set the
resolution to 'accepted' at such an early stage. Does 'accepted' mean
'This is a valid report.' or does it mean 'I think the patch is correct.'? |
|
Date |
User |
Action |
Args |
2010-07-15 15:04:36 | skrah | set | recipients:
+ skrah, eric.smith, eric.araujo, r.david.murray, narnie |
2010-07-15 15:04:35 | skrah | set | messageid: <1279206275.91.0.577905150494.issue9265@psf.upfronthosting.co.za> |
2010-07-15 15:04:33 | skrah | link | issue9265 messages |
2010-07-15 15:04:33 | skrah | create | |
|