Re: [PATCH v2 6/7] wildmatch test: perform all tests under all wildmatch() modes

2017-12-28 Thread Junio C Hamano
Ævar Arnfjörð Bjarmason writes: > + if test "$match_w_pathmatchi" = 1 > + then > + test_expect_success "ipathmatch:match '$text' '$pattern'" " > + test-wildmatch ipathmatch '$text' '$pattern' > + " > + elif test "$match_w_pathmatchi" =

[PATCH v2 6/7] wildmatch test: perform all tests under all wildmatch() modes

2017-12-24 Thread Ævar Arnfjörð Bjarmason
Rewrite the wildmatch() test suite so that each test now tests all combinations of the wildmatch() WM_CASEFOLD and WM_PATHNAME flags. Before this change some test inputs were not tested on e.g. WM_PATHNAME. Now the function is stress tested on all possible inputs, and for each input we declare wha