Skip to content

Commit

Permalink
test-lib: turn on GIT_TEST_CHAIN_LINT by default
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeff King authored and Junio C Hamano committed Apr 28, 2015
1 parent f84df81 commit 92b269f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/test-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 92b269f

Please sign in to comment.