about 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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/testfnm.c b/posix/testfnm.c
index 5a6c7e12ea..e300565b1b 100644
--- a/posix/testfnm.c
+++ b/posix/testfnm.c
@@ -46,6 +46,7 @@ struct {
   { "a./b", "*[.]/b", FNM_PATHNAME|FNM_PERIOD, 0 },
   { "a/b", "*[[:alpha:]]/*[[:alnum:]]", FNM_PATHNAME, 0 },
   { "a/b", "*[![:digit:]]*/[![:d-d]", FNM_PATHNAME, 0 },
+  { "a/[", "*[![:digit:]]*/[[:d-d]", FNM_PATHNAME, 0 },
   { "a/[", "*[![:digit:]]*/[![:d-d]", FNM_PATHNAME, FNM_NOMATCH },
 };