Project: mesos
Issue MESOS-5909: Stout "OsTest.User" test can fail on some systems
Libc call {{getgrouplist}} doesn't return the {{gid}} list in a sorted manner (in my case, it's returning "471 100") ... whereas {{id -G}} return a sorted list ("100 471" in my case) causing the validation inside the loop to fail. We should sort both lists before comparing the values.
Story points: 2