mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
test-user-util: Drop tty check in gid_to_name() test
The tty user is not guaranteed to exist, so let's remove the dependency from the test.
This commit is contained in:
parent
8f1c446979
commit
a1fedc613f
@ -47,7 +47,6 @@ static void test_gid_to_name_one(gid_t gid, const char *name) {
|
||||
TEST(gid_to_name) {
|
||||
test_gid_to_name_one(0, "root");
|
||||
test_gid_to_name_one(GID_NOBODY, NOBODY_GROUP_NAME);
|
||||
test_gid_to_name_one(TTY_GID, "tty");
|
||||
test_gid_to_name_one(0xFFFF, "65535");
|
||||
test_gid_to_name_one(0xFFFFFFFF, "4294967295");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user