◐ Shell
clean mode source ↗

Message 273068 - Python tracker

Haypo: we are testing that our function wrapper (getgroups) returns something that we can parse as matching the results from the 'id' command.  This gives us a much more meaningful test than just testing that getgroups returns *something*.  That is, we are testing that it returns integers, and that they "look right".

In that light, I propose an alternate patch.