Kaydet (Commit) 45d9493e authored tarafından Christian Heimes's avatar Christian Heimes
üst 29b2f174
......@@ -152,7 +152,7 @@ class TestFilemode(unittest.TestCase):
st_mode, modestr = self.get_mode(os.devnull)
self.assertEqual(modestr[0], 'c')
self.assertS_IS("CHR", st_mode)
# needs block devices in BSD, /dev/da0, /dev/ad0 are links
# Linux block devices, BSD has no block devices anymore
for blockdev in ("/dev/sda", "/dev/hda"):
if os.path.exists(blockdev):
st_mode, modestr = self.get_mode(blockdev)
......
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