chiark / gitweb /
Prep v234: Apply missing upstream fixes in src/test (6/6)
[elogind.git] / src / test / test-user-util.c
index e54f79ec075acf836539ca0cd840170c7992091a..d79c0781b774cd3bf6f867a9ca04e06ad0d73866 100644 (file)
@@ -18,7 +18,6 @@
 ***/
 
 #include "alloc-util.h"
-#include "def.h"
 #include "macro.h"
 #include "string-util.h"
 #include "user-util.h"
@@ -151,7 +150,9 @@ int main(int argc, char*argv[]) {
         test_uid_to_name_one(0xFFFFFFFF, "4294967295");
 
         test_gid_to_name_one(0, "root");
+#if 0 /// UNNEEDED by elogind
         test_gid_to_name_one(TTY_GID, "tty");
+#endif // 0
         test_gid_to_name_one(0xFFFF, "65535");
         test_gid_to_name_one(0xFFFFFFFF, "4294967295");