summaryrefslogtreecommitdiff
path: root/tests/headers/grp.c
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-25 19:24:38 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-25 20:35:03 +0100
commita984eb367c032dbe2577f01238c3d1268526be70 (patch)
tree437fef40379b2758b129ccea39df3570fa2d145e /tests/headers/grp.c
parent8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff)
Clang-tidy fixes
Diffstat (limited to 'tests/headers/grp.c')
-rw-r--r--tests/headers/grp.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/headers/grp.c b/tests/headers/grp.c
deleted file mode 100644
index 9ca3029e..00000000
--- a/tests/headers/grp.c
+++ /dev/null
@@ -1,26 +0,0 @@
-// https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/glob.h.html
-
-#include "core.h"
-
-#include <grp.h>
-
-TEST(grp_h)
-{
- TYPE(struct group);
- STRUCT_MEMBER(struct group, char *, gr_name);
- STRUCT_MEMBER(struct group, gid_t, gr_gid);
- STRUCT_MEMBER(struct group, char **, gr_mem);
-
- TYPE(gid_t);
- TYPE(size_t);
-
- FUNCTION(endgrent, FN(void, void));
- FUNCTION(getgrent, FN(struct group *, void));
- FUNCTION(getgrgid, FN(struct group *, gid_t));
- FUNCTION(getgrgid_r, FN(int, gid_t, struct group *, char *, size_t,
- struct group **));
- FUNCTION(getgrnam, FN(struct group *, const char *));
- FUNCTION(getgrnam_r, FN(int, const char *, struct group *, char *,
- size_t, struct group **));
- FUNCTION(setgrent, FN(void, void));
-}