aboutsummaryrefslogtreecommitdiffstats
path: root/test/fnmatch.ok
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-07-12 21:08:52 +0300
committerArnold D. Robbins <arnold@skeeve.com>2012-07-12 21:08:52 +0300
commit33b647ef23daa8a310701c767098f11ee48cf4e8 (patch)
tree37b8f4401cbddf575c0046071fd731dc507a7010 /test/fnmatch.ok
parent73533707616e119778993fe18540098239ecbb2e (diff)
downloadegawk-33b647ef23daa8a310701c767098f11ee48cf4e8.tar.gz
egawk-33b647ef23daa8a310701c767098f11ee48cf4e8.tar.bz2
egawk-33b647ef23daa8a310701c767098f11ee48cf4e8.zip
Add fnmatch extension.
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