diff options
| author | Junio C Hamano <gitster@pobox.com> | 2022-12-19 11:46:12 +0900 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-12-19 11:46:12 +0900 |
| commit | 907951c88b70c056d47ae8c0ac87dee8e8ad690c (patch) | |
| tree | 195c387de80d18f96624dfd93722d9f719fca339 | |
| parent | 57e2c6ebbe7108b35ba30184dcbcb6c34c929ad8 (diff) | |
| parent | 77e04b2ed43c93c55ca4645be385c926b9102f6a (diff) | |
| download | git-907951c88b70c056d47ae8c0ac87dee8e8ad690c.tar.xz | |
Merge branch 'rs/t4205-do-not-exit-in-test-script'
Test fix.
* rs/t4205-do-not-exit-in-test-script:
t4205: don't exit test script on failure
| -rwxr-xr-x | t/t4205-log-pretty-formats.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t4205-log-pretty-formats.sh b/t/t4205-log-pretty-formats.sh index e448ef2928..0404491d6e 100755 --- a/t/t4205-log-pretty-formats.sh +++ b/t/t4205-log-pretty-formats.sh @@ -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 |
