summaryrefslogtreecommitdiff
path: root/test-wildmatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-wildmatch.c')
-rw-r--r--test-wildmatch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test-wildmatch.c b/test-wildmatch.c
index 77014e99dc..74c08644ee 100644
--- a/test-wildmatch.c
+++ b/test-wildmatch.c
@@ -4,9 +4,9 @@
int main(int argc, char **argv)
{
if (!strcmp(argv[1], "wildmatch"))
- return !!wildmatch(argv[3], argv[2]);
+ return !!wildmatch(argv[3], argv[2], 0);
else if (!strcmp(argv[1], "iwildmatch"))
- return !!iwildmatch(argv[3], argv[2]);
+ return !!wildmatch(argv[3], argv[2], FNM_CASEFOLD);
else if (!strcmp(argv[1], "fnmatch"))
return !!fnmatch(argv[3], argv[2], FNM_PATHNAME);
else