Commit b28df76e authored by Giampaolo Rodola's avatar Giampaolo Rodola

#14807: fix bb failure due to symlink test relying on hard-coded permissions

parent 0fb41b56
......@@ -40,7 +40,7 @@ class TestFilemode(unittest.TestCase):
@unittest.skipUnless(hasattr(os, 'symlink'), 'os.symlink not available')
def test_link(self):
os.symlink(os.getcwd(), TESTFN)
self.assertEqual(get_mode(), 'lrwxrwxrwx')
self.assertEqual(get_mode()[0], 'l')
@unittest.skipUnless(hasattr(os, 'mkfifo'), 'os.mkfifo not available')
def test_fifo(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment