summaryrefslogtreecommitdiff
path: root/tests/headers/fnmatch.c
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-15 14:42:29 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-15 14:42:29 +0100
commit7cd3b7caee10d62f7be674afb86a136bf30485d6 (patch)
tree121a8c79114174b765713387187d930b102f760f /tests/headers/fnmatch.c
parent3b3325f761b09ebbfef04c44eed546cc4fdeb329 (diff)
Add mqueue rt api, add header tests
Diffstat (limited to 'tests/headers/fnmatch.c')
-rw-r--r--tests/headers/fnmatch.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/headers/fnmatch.c b/tests/headers/fnmatch.c
new file mode 100644
index 00000000..563425cc
--- /dev/null
+++ b/tests/headers/fnmatch.c
@@ -0,0 +1,17 @@
+// https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/fmtmsg.h.html
+
+#include "core.h"
+
+#include <fnmatch.h>
+
+TEST(fnmatch_h)
+{
+ MACRO(FNM_PATHNAME)
+ MACRO(FNM_NOESCAPE)
+ MACRO(FNM_PERIOD)
+ MACRO(FNM_CASEFOLD)
+ MACRO(FNM_NOMATCH)
+ MACRO(FNM_IGNORECASE)
+
+ FUNCTION(fnmatch, FN(int, const char *, const char *, int))
+}