Skip to content

Commit a99dfdc

Browse files
DaanDeMeyerbluca
authored andcommitted
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. (cherry picked from commit a1fedc6) (cherry picked from commit 865f0d6)
1 parent d0a3467 commit a99dfdc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/test/test-user-util.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ static void test_gid_to_name_one(gid_t gid, const char *name) {
4747
TEST(gid_to_name) {
4848
test_gid_to_name_one(0, "root");
4949
test_gid_to_name_one(GID_NOBODY, NOBODY_GROUP_NAME);
50-
test_gid_to_name_one(TTY_GID, "tty");
5150
test_gid_to_name_one(0xFFFF, "65535");
5251
test_gid_to_name_one(0xFFFFFFFF, "4294967295");
5352
}

0 commit comments

Comments
 (0)