Commit graph

2 commits

Author SHA1 Message Date
Klemens Nanni
12acd710be
Omit privileged setgroups(2) call to test set[ug]id(2) to same user
Every user may change its user/group ID to the current one.
With an ugly hack, skip the superuser-only part of chuser()
to exercise this rest of the code path in regular tests.
2024-11-12 02:36:28 +03:00
Klemens Nanni
988cd0e207
Add chuser() tests
A bunch of negative cases for the userspace-side parser.

Since the actual set*(2) guts require root, skip accordingly.
2024-11-12 02:12:37 +03:00