Skip to content

Commit 907951c

Browse files
committed
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
2 parents 57e2c6e + 77e04b2 commit 907951c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t4205-log-pretty-formats.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ test_expect_success 'NUL termination with --reflog --pretty=oneline' '
156156
for r in $revs
157157
do
158158
git show -s --pretty=oneline "$r" >raw &&
159-
cat raw | lf_to_nul || exit 1
159+
cat raw | lf_to_nul || return 1
160160
done >expect &&
161161
# the trailing NUL is already produced so we do not need to
162162
# output another one

0 commit comments

Comments
 (0)