> Note that the result of getgroups(2) is fixed on login, while "id -G" reflects the current state of the user database on macOS.
Wow, that's interesting! Thank you for this information.
The test code for test_getgroups does not mention this interaction. I can certainly see how it could affect the test. Maybe it should be added?
Since I last tried that test, I've logged out and restarted several times, and changed OS to Mac OS X 10.11 El Capitan. Nothing like changing several independent variables at once while diagnosing! I will try the test again and report back. |