[PATCH 0/4] t: new helper test_line_count_cmd
- From
Đoàn Trần Công Danh <congdanhqx@gmail.com>
- Date
- Jun 12, 2021, 04:27 UTC
- Message-ID
- <20210612042755.28342-1-congdanhqx@gmail.com>
This is a rewrite of a series I sent earlier [1]. Which was a response to a false positive when applying Junio's suggestion to a series written by Ævar [2].
1: https://lore.kernel.org/git/20210421104102.3409-1-congdanhqx@gmail.com/ 2: https://lore.kernel.org/git/87r1j42ffz.fsf@evledraar.gmail.com/
Đoàn Trần Công Danh (4): test-lib-functions: introduce test_line_count_cmd t6402: use find(1) builtin to filter instead of grep t6400: use test_line_count_cmd to count # of lines in stdout t6402: use test_line_count_cmd to count # of lines in stdout
t/t6400-merge-df.sh | 16 ++--- t/t6402-merge-rename.sh | 132 +++++++++++++++++++--------------------- t/test-lib-functions.sh | 64 +++++++++++++++++++ 3 files changed, 134 insertions(+), 78 deletions(-)
-- 2.32.0.278.gd42b80f139