summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_commands.py b/Lib/test/test_commands.py
index 77372c5..1cd8b8b 100644
--- a/Lib/test/test_commands.py
+++ b/Lib/test/test_commands.py
@@ -32,7 +32,7 @@ class CommandTests(unittest.TestCase):
def test_getstatus(self):
# This pattern should match 'ls -ld /bin/ls' on any posix
# system, however perversely configured.
- pat = r'''-..x..x..x # It is executable.
+ pat = r'''[l-]..x..x..x # It is executable. (May be a symlink.)
\s+\d+ # It has some number of links.
\s+\w+\s+\w+ # It has a user and group, which may
# be named anything.