summaryrefslogtreecommitdiffstats
path: root/src/test/test-user-util.c
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-08-04 15:23:16 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-08-04 16:48:39 +0200
commita1fedc613fe90b9f1f253fd02a7a6575351a27cc (patch)
tree7f334eedf9f4ea325185055f509459636426190f /src/test/test-user-util.c
parenttimesyncd: emit signal when timesyncd NTPServers property changes (diff)
downloadsystemd-a1fedc613fe90b9f1f253fd02a7a6575351a27cc.tar.xz
systemd-a1fedc613fe90b9f1f253fd02a7a6575351a27cc.zip
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.
Diffstat (limited to 'src/test/test-user-util.c')
-rw-r--r--src/test/test-user-util.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/test-user-util.c b/src/test/test-user-util.c
index 48d9b1e0fb..66f3b38050 100644
--- a/src/test/test-user-util.c
+++ b/src/test/test-user-util.c
@@ -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");
}