diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-04-28 09:23:09 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-04-28 09:23:09 +0000 |
commit | 66f93c2d97c7a6299361805091513981b6277893 (patch) | |
tree | 763f44901596aa0f7a6afb6a4df2be02f0c69661 /posix/testfnm.c | |
parent | 980e58323af243dd0a87f6a6eeec6f97308b46e5 (diff) | |
download | glibc-66f93c2d97c7a6299361805091513981b6277893.tar glibc-66f93c2d97c7a6299361805091513981b6277893.tar.gz glibc-66f93c2d97c7a6299361805091513981b6277893.tar.bz2 glibc-66f93c2d97c7a6299361805091513981b6277893.zip |
Update.
1999-04-28 Ulrich Drepper <drepper@cygnus.com>
* posix/fnmatch.c (internal_fnmatch): Finish incomplete
no_leading_period change.
* posix/testfnm.c: More test cases.
Diffstat (limited to 'posix/testfnm.c')
-rw-r--r-- | posix/testfnm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/posix/testfnm.c b/posix/testfnm.c index e300565b1b..ebdfab41de 100644 --- a/posix/testfnm.c +++ b/posix/testfnm.c @@ -48,6 +48,9 @@ struct { { "a/b", "*[![:digit:]]*/[![:d-d]", FNM_PATHNAME, 0 }, { "a/[", "*[![:digit:]]*/[[:d-d]", FNM_PATHNAME, 0 }, { "a/[", "*[![:digit:]]*/[![:d-d]", FNM_PATHNAME, FNM_NOMATCH }, + { "a.b", "a?b", FNM_PATHNAME|FNM_PERIOD, 0 }, + { "a.b", "a*b", FNM_PATHNAME|FNM_PERIOD, 0 }, + { "a.b", "a[.]b", FNM_PATHNAME|FNM_PERIOD, 0 }, }; int |