Commit 7c1d34f
t6423: fix suppression of Git’s exit code in tests
Some test in t6423 supress Git's exit code, which can cause test
failures go unnoticed. Specifically using git <subcommand> |
<other-command> masks potential failures of the Git command.
This commit ensures that Git's exit status is correctly propogated by:
- Avoiding pipes that suppress exit codes.
Signed-off-by: Ayush Chandekar <ayu.chandekar@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent bc204b7 commit 7c1d34f
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5071 | 5071 | | |
5072 | 5072 | | |
5073 | 5073 | | |
5074 | | - | |
| 5074 | + | |
| 5075 | + | |
5075 | 5076 | | |
5076 | 5077 | | |
5077 | 5078 | | |
| |||
5129 | 5130 | | |
5130 | 5131 | | |
5131 | 5132 | | |
5132 | | - | |
| 5133 | + | |
| 5134 | + | |
5133 | 5135 | | |
5134 | 5136 | | |
5135 | 5137 | | |
| |||
5187 | 5189 | | |
5188 | 5190 | | |
5189 | 5191 | | |
5190 | | - | |
| 5192 | + | |
| 5193 | + | |
5191 | 5194 | | |
5192 | 5195 | | |
5193 | 5196 | | |
| |||
0 commit comments