It should check `os.Geteuid` with `uid` instead of `os.Getegid`. On the container (where the tests run), the uid and gid seems to be the same, thus this doesn't fail. Signed-off-by: Vincent Demeester <vincent@sbr.pm>