Browse Source

Merge branch 'rs/t4205-do-not-exit-in-test-script' into maint-2.39

Test fix.

* rs/t4205-do-not-exit-in-test-script:
  t4205: don't exit test script on failure
maint
Junio C Hamano 2 years ago
parent
commit
db2a91ba36
  1. 2
      t/t4205-log-pretty-formats.sh

2
t/t4205-log-pretty-formats.sh

@ -156,7 +156,7 @@ test_expect_success 'NUL termination with --reflog --pretty=oneline' ' @@ -156,7 +156,7 @@ test_expect_success 'NUL termination with --reflog --pretty=oneline' '
for r in $revs
do
git show -s --pretty=oneline "$r" >raw &&
cat raw | lf_to_nul || exit 1
cat raw | lf_to_nul || return 1
done >expect &&
# the trailing NUL is already produced so we do not need to
# output another one

Loading…
Cancel
Save