I mistakenly posted the previous message in html format, and some rubbish text '&nbs p;' was unexpectedly inserted in the patch. I'll post the content of the patch again. Sorry for the inconvenience.
--- Python-2.5.6/Lib/test/test_commands.py.orig 2006-06-29 04:10:08.000000000 +0000 +++ Python-2.5.6/Lib/test/test_commands.py 2011-11-29 08:46:29.602607019 +0000 @@ -46,11 +46,7 @@ # drwxr-xr-x 15 Joe User My Group 4096 Aug 12 12:50 / # Note that the first case above has a space in the group name # while the second one has a space in both names. - 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]*$ ''' self.assert_(re.match(pat, getstatus("/."), re.VERBOSE)) Toshiyuki Ogura -- http://mail.python.org/mailman/listinfo/python-list