[PATCH v3 0/2] t3700: modernize and fix exit code suppression
- From
Siddharth Shrimali <r.siddharth.shrimali@gmail.com>
- Date
- Mar 3, 2026, 20:40 UTC
- Message-ID
- <20260303204029.52952-1-r.siddharth.shrimali@gmail.com>
This is the third version to modernize t3700 and ensure git's exit codes are not suppressed in pipelines.
Changes in v3: - Split the series into two distinct patches as suggested by Junio. - Patch 1/2: Focuses strictly on breaking pipelines to expose git's exit status and simplifying 'wc -l' logic. - Patch 2/2: Converts all remaining 'grep' and '! grep' calls to the modern 'test_grep' and 'test_grep !' helpers. - Fixed trailer formatting in commit messages.
Siddharth Shrimali (2): t3700: avoid suppressing git's exit code t3700: use test_grep helper for better diagnostics
t/t3700-add.sh | 49 +++++++++++++++++++++++++++++++------------------ 1 file changed, 31 insertions(+), 18 deletions(-)
-- 2.51.2