aboutsummaryrefslogtreecommitdiff
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 b735a26579..f3165324e9 100644
--- 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