From: Jeff King Date: Wed, 22 Apr 2015 20:09:57 +0000 (-0400) Subject: test-lib: turn on GIT_TEST_CHAIN_LINT by default X-Git-Tag: v2.5.0-rc0~111^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=92b269f5c5e5c1d51e9318003caf8ae9d076b4e9;p=git test-lib: turn on GIT_TEST_CHAIN_LINT by default Now that the feature has had time to prove itself, and any topics in flight have had a chance to clean up any broken &&-chains, we can flip this feature on by default. This makes one less thing submitters need to configure or check before sending their patches. Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- diff --git a/t/test-lib.sh b/t/test-lib.sh index 50b3d3f45d..281c1eca09 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -531,7 +531,7 @@ test_run_ () { test_cleanup=: expecting_failure=$2 - if test "${GIT_TEST_CHAIN_LINT:-0}" != 0; then + if test "${GIT_TEST_CHAIN_LINT:-1}" != 0; then # 117 is magic because it is unlikely to match the exit # code of other programs test_eval_ "(exit 117) && $1"