Add more test cases.
authordrepper <drepper>
Tue, 27 Apr 1999 09:15:10 +0000 (09:15 +0000)
committerdrepper <drepper>
Tue, 27 Apr 1999 09:15:10 +0000 (09:15 +0000)
posix/testfnm.c

index 5a6c7e1..e300565 100644 (file)
@@ -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 },
 };