aboutsummaryrefslogtreecommitdiffstats
path: root/test/fnmatch.ok
diff options
context:
space:
mode:
Diffstat (limited to 'test/fnmatch.ok')
-rw-r--r--test/fnmatch.ok9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/fnmatch.ok b/test/fnmatch.ok
new file mode 100644
index 00000000..cc17c6b1
--- /dev/null
+++ b/test/fnmatch.ok
@@ -0,0 +1,9 @@
+FNM_NOMATCH = 1
+FNM["LEADING_DIR"] = 8
+FNM["CASEFOLD"] = 16
+FNM["NOESCAPE"] = 2
+FNM["PERIOD"] = 4
+FNM["PATHNAME"] = 1
+FNM["FILE_NAME"] = 1
+fnmatch("*.a", "foo.a", 0) = 0
+fnmatch("*.a", "foo.c", 0) = 1