Message113774
test_initgroups fails only if the test is invoked by a root and
the user is assigned to only one group.
If I understand test_initgroups correctly, it
(1)looks for an unused gid,
(2)inits process user's group with that gid,
(3)checks if initgroups worked.
Attached patch simplifies step #1
"max(self.saved_groups) + 1" is used.
test_initgroups passed when root's groups are as follows::
* [0]
* [0, 3, 5]
* [0, 1, 2] |
|
Date |
User |
Action |
Args |
2010-08-13 13:50:28 | quiver | set | recipients:
+ quiver, ronaldoussoren, exarkun, belopolsky, pitrou |
2010-08-13 13:50:28 | quiver | set | messageid: <1281707428.71.0.6609771735.issue9581@psf.upfronthosting.co.za> |
2010-08-13 13:50:13 | quiver | link | issue9581 messages |
2010-08-13 13:50:12 | quiver | create | |
|