aboutsummaryrefslogtreecommitdiffstats
path: root/test/fnmatch.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/fnmatch.awk')
-rw-r--r--test/fnmatch.awk3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/fnmatch.awk b/test/fnmatch.awk
index e8ef9377..c0885074 100644
--- a/test/fnmatch.awk
+++ b/test/fnmatch.awk
@@ -2,8 +2,9 @@
BEGIN {
print "FNM_NOMATCH =", FNM_NOMATCH
+ # can't print the values; they vary from system to system
for (i in FNM)
- printf("FNM[\"%s\"] = %d\n", i, FNM[i])
+ printf("\"%s\" is an element in FNM\n", i)
printf("fnmatch(\"*.a\", \"foo.a\", 0) = %d\n", fnmatch("*.a", "foo.a", 0) )
printf("fnmatch(\"*.a\", \"foo.c\", 0) = %d\n", fnmatch("*.a", "foo.c", 0))