test-lib: turn on GIT_TEST_CHAIN_LINT by default
authorJeff King <peff@peff.net>
Wed, 22 Apr 2015 20:09:57 +0000 (16:09 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Apr 2015 22:55:51 +0000 (15:55 -0700)
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>
t/test-lib.sh
index 50b3d3f45dde25b63d1bff636056565be70a17ba..281c1eca0925664a1bddec0e2edca017f68a1a47 100644 (file)
@@ -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"