aboutsummaryrefslogtreecommitdiffstats
path: root/t/test-lib-github-workflow-markup.sh
diff options
context:
space:
mode:
authorAchu Luma <ach.lumap@gmail.com>2024-01-20 03:15:47 +0100
committerJunio C Hamano <gitster@pobox.com>2024-01-20 10:27:18 -0800
commit425ae8a3df3d2378e8da5a96b995f8fc0fac32e8 (patch)
tree4044ed31184884d6ccd1e54716c5b797d1bcf3e7 /t/test-lib-github-workflow-markup.sh
parentThe ninth batch (diff)
downloadgit-425ae8a3df3d2378e8da5a96b995f8fc0fac32e8.tar.gz
git-425ae8a3df3d2378e8da5a96b995f8fc0fac32e8.zip
t2400: avoid losing exit status to pipes
The exit code of the preceding command in a pipe is disregarded. So if that preceding command is a Git command that fails, the test would not fail. Instead, by saving the output of that Git command to a file, and removing the pipe, we make sure the test will fail if that Git command fails. Signed-off-by: Achu Luma <ach.lumap@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/test-lib-github-workflow-markup.sh')
0 files changed, 0 insertions, 0 deletions