Ross Lagerwall added the comment:

It seems like getgrouplist returns the information from the system
database whereas getgroups (and consequently id -G) returns the
supplementary groups for the calling process.

I'm not exactly sure how getgrouplist() can be effectively tested then.

----------
nosy: +rosslagerwall
title: test_posix.test_getgrouplist fails on some systems - incorrectly 
comparing getgroups and getgrouplist results -> test_posix.test_getgrouplist 
fails on some systems -    incorrectly comparing getgroups and getgrouplist 
results

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16661>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to