mbox series

[0/4] t: new helper test_line_count_cmd

Message ID 20210612042755.28342-1-congdanhqx@gmail.com (mailing list archive)
Headers show
Series t: new helper test_line_count_cmd | expand


Đoàn Trần Công Danh June 12, 2021, 4:27 a.m. UTC
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(-)