[issue9581] PosixGroupsTester fails as root

2010-09-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've committed modified patches for 3.x, 3.1 and 2.7. Thanks again George. -- assignee: ronaldoussoren -> nobody nosy: +nobody resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed versions: -Python 2.6

[issue9581] PosixGroupsTester fails as root

2010-08-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: George's patches work for me (thank you!). -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue9581] PosixGroupsTester fails as root

2010-08-13 Thread George Yoshida
Changes by George Yoshida : Added file: http://bugs.python.org/file18500/py3k.diff ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue9581] PosixGroupsTester fails as root

2010-08-13 Thread George Yoshida
George Yoshida added the comment: > FAIL: test_setgroups (test.test_posix.PosixGroupsTester) > -- > Traceback (most recent call last): > File "/home/antoine/py3k/__svn__/Lib/test/test_posix.py", line 428, in > test_setgroups

[issue9581] PosixGroupsTester fails as root

2010-08-13 Thread George Yoshida
Changes by George Yoshida : Added file: http://bugs.python.org/file18499/test_setgroups.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue9581] PosixGroupsTester fails as root

2010-08-13 Thread George Yoshida
Changes by George Yoshida : Removed file: http://bugs.python.org/file18498/test_setgroups.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue9581] PosixGroupsTester fails as root

2010-08-13 Thread George Yoshida
George Yoshida added the comment: 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. Attac

[issue9581] PosixGroupsTester fails as root

2010-08-12 Thread George Yoshida
George Yoshida added the comment: > Under 2.6, there's another failure: As for 2.6/2.7 issues, changing 'assertListEqual' to 'assertEqual' should suffice. -- keywords: +patch nosy: +quiver Added file: http://bugs.python.org/file18496/2.6.diff ___ Py

[issue9581] PosixGroupsTester fails as root

2010-08-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: I won't have time to look at this until sunday. Alexander Belopolsky wrote these patch tests. Alexanders: do you have time to look into this? -- nosy: +belopolsky ___ Python tracker

[issue9581] PosixGroupsTester fails as root

2010-08-12 Thread Antoine Pitrou
New submission from Antoine Pitrou : I get the following test_posix failures when run as root (Mandriva Linux): == ERROR: test_initgroups (test.test_posix.PosixGroupsTester) --