[issue11946] 2.7.1 'test_commands' build test fails

Jason Vas Dias report at bugs.python.org
Thu Apr 28 19:07:49 CEST 2011


Jason Vas Dias <jason.vas.dias at gmail.com> added the comment:

oops, over-eager bash <tab> again - 
I've certainly had one too many bash <tab>s today :-)
Here's the patch against 2.7.1's test_commands.py, not 2.7's :


[ root at jvdspc:/mnt/sda3/Python-2.7 18:04:15 1687:1180 ]
$ diff -U0 /usr/src/Python-2.7.1/Lib/test/test_commands.py /tmp/test_commands.py
--- /usr/src/Python-2.7.1/Lib/test/test_commands.py     2010-11-21 13:34:58.000000000 +0000
+++ /tmp/test_commands.py       2011-04-28 18:03:27.821395320 +0100
@@ -52,5 +52 @@
-        pat = r'''d.........   # It is a directory.
-                  \+?          # It may have ACLs.
-                  \s+\d+       # It has some number of links.
-                  [^/]*        # Skip user, group, size, and date.
-                  /\.          # and end with the name of the file.
+        pat = r'''^.*(\/\.)[\ ]*[\n\r]*$
[ root at jvdspc:/mnt/sda3/Python-2.7 18:05:52 1688:1181 ]

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11946>
_______________________________________


More information about the Python-bugs-list mailing list