[PATCH v3 0/7] increase wildmatch test coverage
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Dec 28, 2017, 23:28 UTC
- Message-ID
- <20171228232823.14450-1-avarab@gmail.com>
- In-Reply-To
- <20171225002835.29005-1-avarab@gmail.com>
Fixes issues noted since v2 and one I spotted myself, notes below:
Ævar Arnfjörð Bjarmason (7): wildmatch test: indent with tabs, not spaces wildmatch test: use more standard shell style wildmatch test: don't try to vertically align our output wildmatch test: use a paranoia pattern from nul_match() wildmatch test: remove dead fnmatch() test code
No changes.
wildmatch test: perform all tests under all wildmatch() modes
Fix vertical alignment of new test (that was just changed back later in v2).
wildmatch test: create & test files on disk in addition to in-memory
* Use ${file%/*} instead of forking for finding the dir part of a path* Consistently name tests, e.g. I had some called wildmatch and wildmatch(ls), but then iwildmatch and wildmatch(ls) again, now it's iwildmatch(ls) in the second case.
t/helper/test-wildmatch.c | 2 + t/t3070-wildmatch.sh | 759 +++++++++++++++++++++++++++++++--------------- 2 files changed, 516 insertions(+), 245 deletions(-)
-- 2.15.1.424.g9478a66081