This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients eric.araujo, eric.smith, narnie, r.david.murray, skrah
Date 2010-07-15.15:04:32
SpamBayes Score 2.5417636e-05
Marked as misclassified No
Message-id <1279206275.91.0.577905150494.issue9265@psf.upfronthosting.co.za>
In-reply-to
Content
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.'?
History
Date User Action Args
2010-07-15 15:04:36skrahsetrecipients: + skrah, eric.smith, eric.araujo, r.david.murray, narnie
2010-07-15 15:04:35skrahsetmessageid: <1279206275.91.0.577905150494.issue9265@psf.upfronthosting.co.za>
2010-07-15 15:04:33skrahlinkissue9265 messages
2010-07-15 15:04:33skrahcreate