Issue 20249: test_posix.test_initgroups fails when running with no supplementary groups (original) (raw)
When tests are run from an Upstart job in a minimal environment, test_posix.test_initgroups fails as it attempts to find the max() of an empty list of supplementary groups.
Problem sighted with 2.7, 3.3, and 3.x branches. Patch derived from 3.x (default branch), applies cleanly to 2.7 and 3.3 as well.