python2/fix-test_commands-expected-ls-output-issue7108.patch
David Malcolm 5810c5d8b1 2.7-8: add a %check
* Wed Aug 18 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-8
- add %%check section
- update lib64 patch (patch 102) to fix expected output in test_site.py on
64-bit systems
- patch test_commands.py to work with SELinux (patch 124)
- patch the debug build's usage of COUNT_ALLOCS to be less verbose (patch 125)
2010-08-18 13:35:32 -04:00

13 lines
854 B
Diff

diff -up Python-2.7/Lib/test/test_commands.py.gnu-ls-output Python-2.7/Lib/test/test_commands.py
--- Python-2.7/Lib/test/test_commands.py.gnu-ls-output 2010-08-17 11:31:35.714913918 -0400
+++ Python-2.7/Lib/test/test_commands.py 2010-08-17 11:37:08.913911808 -0400
@@ -50,7 +50,7 @@ class CommandTests(unittest.TestCase):
# 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.
+ [.+@]? # It may have alt access (SELinux, ACLs or metadata ('@' OS X).
\s+\d+ # It has some number of links.
[^/]* # Skip user, group, size, and date.
/\. # and end with the name of the file.