summary refs log tree commit diff
path: root/posix/testfnm.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/testfnm.c')
-rw-r--r--posix/testfnm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/posix/testfnm.c b/posix/testfnm.c
index 5ab761b8b2..b43f9531fb 100644
--- a/posix/testfnm.c
+++ b/posix/testfnm.c
@@ -13,6 +13,9 @@ struct {
   { "a/b", "a[/]b", 0, 0 },
   { "a/b", "a[/]b", FNM_PATHNAME, FNM_NOMATCH },
   { "a/b", "[a-z]/[a-z]", 0, 0 },
+  { "a/b", "*", FNM_FILE_NAME, FNM_NOMATCH },
+  { "a/b", "*[/]b", FNM_FILE_NAME, FNM_NOMATCH },
+  { "a/b", "*[b]", FNM_FILE_NAME, FNM_NOMATCH }
 };
 
 int