[Python-checkins] peps: Closed the "test_popen2 fails under Windows" bug -- although I'm

georg.brandl python-checkins at python.org
Wed Mar 23 21:25:29 CET 2011


http://hg.python.org/peps/rev/a4cd5c94122c
changeset: 117:a4cd5c94122c
user: Tim Peters <tim.peters at gmail.com>
date: Sun Aug 20 05:59:27 2000 +0000
summary:
 Closed the "test_popen2 fails under Windows" bug -- although I'm
only sure about that for Win98SE.
Moved the test_fork1 bug up to the top since it's the only
interesting std test failure remaining.
files:
 pep-0200.txt | 45 ++++++++++++++++++++++++----------------
 1 files changed, 27 insertions(+), 18 deletions(-)
diff --git a/pep-0200.txt b/pep-0200.txt
--- a/pep-0200.txt
+++ b/pep-0200.txt
@@ -90,6 +90,16 @@
 
 test case platform R B date reported
 --------- -------- - - -------------
+ test_fork1 Linux X 26-Jul-2000 just SMP?
+ [no clue; there are probably two bugs here]
+ [19-Aug-200 tim
+ Charles Waldman whipped up a patch to give child processes a new
+ "global lock":
+ http://sourceforge.net/patch/?func=detailpatch&patch_id=101226&group_id=5470
+ While this doesn't appear to address the symptoms we *saw*, it
+ *does* so far appear to be fixing the failing cases anyway
+ ]
+
 test_winreg2 Win32 X X 26-Jul-2000
 [19-Aug-2000 tim
 This test will never work on Win98, because it's looking for
@@ -102,7 +112,24 @@
 expected: 'HKEY_PERFORMANCE_DATA012円'
 ]
 
+
+Previously failing test cases
+
+ If you find a test bouncing between this section and the previous one,
+ the code it's testing is in trouble!
+
+ test case platform R B date reported
+ --------- -------- - - -------------
 test_popen2 Win32 X X 26-Jul-2000
+ [20-Aug-2000 tim
+ changed the popen2.py _test function to use the "more" cmd
+ when os.name == "nt". This makes test_popen2 pass under
+ Win98SE.
+ HOWEVER, the Win98 "more" invents a leading newline out
+ of thin air, and I'm not sure that the other Windows flavors
+ of "more" also do that.
+ So, somebody please try under other Windows flavors!
+ ]
 [still fails 15-Aug-2000 for me, on Win98 - tim
 test test_popen2 crashed -- exceptions.AssertionError :
 The problem is that the test uses "cat", but there is
@@ -111,24 +138,6 @@
 the code.
 ]
 
- test_fork1 Linux X 26-Jul-2000 just SMP?
- [no clue; there are probably two bugs here]
- [19-Aug-200 tim
- Charles Waldman whipped up a patch to give child processes a new
- "global lock":
- http://sourceforge.net/patch/?func=detailpatch&patch_id=101226&group_id=5470
- While this doesn't appear to address the symptoms we *saw*, it
- *does* so far appear to be fixing the failing cases anyway
- ]
-
-
-Previously failing test cases
-
- If you find a test bouncing between this section and the previous one,
- the code it's testing is in trouble!
-
- test case platform R B date reported
- --------- -------- - - -------------
 test_winreg Win32 X X 26-Jul-2000
 [works 15-Aug-2000 for me, on Win98 - tim]
 
-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /