summaryrefslogtreecommitdiff
path: root/t/t7501-commit-basic-functionality.sh
diff options
context:
space:
mode:
authorMichael Montalbo <mmontalbo@gmail.com>2026-07-06 05:01:54 +0000
committerJunio C Hamano <gitster@pobox.com>2026-07-06 13:26:01 -0700
commit04e875a364f5a3792077a3e90c6f546b4cf7ea4c (patch)
tree94734976a6372bfd760e55934567a86f7ff22938 /t/t7501-commit-basic-functionality.sh
parentafd278b35a9aff3ca75fcc393dac53f0a0c1eae6 (diff)
t: fix grep assertions missing file arguments
Three grep assertions were missing their file arguments, causing them to read from empty stdin instead of the intended file: - t2402: '! grep ...' should read from 'out', matching the grep on the preceding line. - t7507: the closing quote is in the wrong place, making the entire 'diff --git actual' a single pattern with no file argument instead of pattern 'diff --git' and file 'actual'. - t7700: '! grep ...' should read from 'packlist', matching the redirect on the preceding line. Without file arguments these greps always succeed (empty stdin matches nothing), so the assertions were not actually checking anything. All three tests pass with the corrected file arguments, confirming the intended behavior is sound. Signed-off-by: Michael Montalbo <mmontalbo@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7501-commit-basic-functionality.sh')
0 files changed, 0 insertions, 0 deletions