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 <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Jeff King committed
Apr 22, 2015 at 16:09 UTC
92b269f5c5e5c1d51e9318003caf8ae9d076b4e9
1 file changed
+1
-1
t/test-lib.sh
+1
-1
@@ -531,7 +531,7 @@ test_run_ () {
531
test_cleanup=:
532
expecting_failure=$2
533
534
- if test "${GIT_TEST_CHAIN_LINT:-0}" != 0; then
534
+ if test "${GIT_TEST_CHAIN_LINT:-1}" != 0; then
535
# 117 is magic because it is unlikely to match the exit
536
# code of other programs
537
test_eval_ "(exit 117) && $1"