Commit fd3ba7b2 authored by Jesus Cea's avatar Jesus Cea

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

parent 86af310c
......@@ -509,7 +509,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