summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2015-04-22 16:09:57 -0400
committerJunio C Hamano <gitster@pobox.com>2015-04-28 15:55:51 -0700
commit92b269f5c5e5c1d51e9318003caf8ae9d076b4e9 (patch)
tree96b0739aed8187202467585d1a9e8cddba63100e
parentf84df81f654aeb0ac4582e0b3be162cba6ea5232 (diff)
downloadgit-jk/test-chain-lint.tar.gz
test-lib: turn on GIT_TEST_CHAIN_LINT by defaultjk/test-chain-lint
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>
-rw-r--r--t/test-lib.sh2
1 files changed, 1 insertions, 1 deletions
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"