Commit 61f32cb5 authored by Jesus Cea's avatar Jesus Cea

Closes #11279: test_posix and lack of "id -G" support - less noise required? (Solaris)

parent 09e75908
......@@ -757,7 +757,7 @@ class PosixTester(unittest.TestCase):
@unittest.skipUnless(hasattr(os, 'getegid'), "test needs os.getegid()")
def test_getgroups(self):
with os.popen('id -G') as idg:
with os.popen('id -G 2>/dev/null') as idg:
groups = idg.read().strip()
ret = idg.close()
......
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