diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-02-15 14:55:44 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-02-15 14:55:44 -0800 |
commit | bfc817d8a2b676fa36aff80fe57b000ee17d4d2b (patch) | |
tree | 5abfaa94994e6ec68e3082a6ea2f4254f843ee9f /t/helper/test-wildmatch.c | |
parent | Merge branch 'po/object-id' (diff) | |
parent | wildmatch test: mark test as EXPENSIVE_ON_WINDOWS (diff) | |
download | tgif-bfc817d8a2b676fa36aff80fe57b000ee17d4d2b.tar.xz |
Merge branch 'ab/wildmatch-tests'
More tests for wildmatch functions.
* ab/wildmatch-tests:
wildmatch test: mark test as EXPENSIVE_ON_WINDOWS
test-lib: add an EXPENSIVE_ON_WINDOWS prerequisite
wildmatch test: create & test files on disk in addition to in-memory
wildmatch test: perform all tests under all wildmatch() modes
wildmatch test: use test_must_fail, not ! for test-wildmatch
wildmatch test: remove dead fnmatch() test code
wildmatch test: use a paranoia pattern from nul_match()
wildmatch test: don't try to vertically align our output
wildmatch test: use more standard shell style
wildmatch test: indent with tabs, not spaces
Diffstat (limited to 't/helper/test-wildmatch.c')
-rw-r--r-- | t/helper/test-wildmatch.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/helper/test-wildmatch.c b/t/helper/test-wildmatch.c index 921d7b3e7e..66d33dfcfd 100644 --- a/t/helper/test-wildmatch.c +++ b/t/helper/test-wildmatch.c @@ -16,6 +16,8 @@ int cmd_main(int argc, const char **argv) return !!wildmatch(argv[3], argv[2], WM_PATHNAME | WM_CASEFOLD); else if (!strcmp(argv[1], "pathmatch")) return !!wildmatch(argv[3], argv[2], 0); + else if (!strcmp(argv[1], "ipathmatch")) + return !!wildmatch(argv[3], argv[2], WM_CASEFOLD); else return 1; } |