diff options
author | Jason Tishler <jason@tishler.net> | 2002-12-05 20:18:39 +0000 |
---|---|---|
committer | Jason Tishler <jason@tishler.net> | 2002-12-05 20:18:39 +0000 |
commit | 18f41130559284c481eced023cd47d758b5d8e89 (patch) | |
tree | 759dbd2945c2a07a604e1d77fdce12430141019c /Lib/test/test_commands.py | |
parent | d149e84d3bd247c961a7ed4c0f54c4f3c9a25145 (diff) | |
download | cpython-18f41130559284c481eced023cd47d758b5d8e89.tar.gz |
Patch #648998: test_commands ACL patch
Although motived by Cygwin, this patch will prevent
test_commands from failing on Unixes that support
ACLs. For example, the following is an excerpt from
the Solaris ls manpage:
...
-rwxrwxrwx+ 1 smith dev 10876 May 16 9:42 part2
The plus sign indicates that there is an ACL associated
with the file.
...
Diffstat (limited to 'Lib/test/test_commands.py')
-rw-r--r-- | Lib/test/test_commands.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_commands.py b/Lib/test/test_commands.py index dfa1977266..ef87d79240 100644 --- a/Lib/test/test_commands.py +++ b/Lib/test/test_commands.py @@ -45,6 +45,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. \s+\d+ # It has some number of links. [^/]* # Skip user, group, size, and date. /\. # and end with the name of the file. |