projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14de3f6
)
Add test for patterns with multiple ** before /.
author
drepper
<drepper>
Thu, 15 Mar 2001 09:33:56 +0000
(09:33 +0000)
committer
drepper
<drepper>
Thu, 15 Mar 2001 09:33:56 +0000
(09:33 +0000)
posix/testfnm.c
patch
|
blob
|
history
diff --git
a/posix/testfnm.c
b/posix/testfnm.c
index
b735a26
..
f316532
100644
(file)
--- a/
posix/testfnm.c
+++ b/
posix/testfnm.c
@@
-54,6
+54,9
@@
struct {
{ "a/b", "*a*", FNM_PATHNAME|FNM_LEADING_DIR, 0 },
{ "ab/c", "*a?", FNM_PATHNAME|FNM_LEADING_DIR, 0 },
{ "ab/c", "a?", FNM_PATHNAME|FNM_LEADING_DIR, 0 },
+ { "a/b", "?*/?", FNM_PATHNAME, 0 },
+ { "/b", "*/?", FNM_PATHNAME, 0 },
+ { "/b", "**/?", FNM_PATHNAME, 0 },
};
int