git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] test-lib: turn on GIT_TEST_CHAIN_LINT by default
@ 2015-04-22 20:09 Jeff King
  0 siblings, 0 replies; only message in thread
From: Jeff King @ 2015-04-22 20:09 UTC (permalink / raw)
  To: git

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>
---
 t/test-lib.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/test-lib.sh b/t/test-lib.sh
index 4ea99a2..39da9c2 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -529,7 +529,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"
-- 
2.4.0.rc2.498.g02440db

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-22 20:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-22 20:09 [PATCH] test-lib: turn on GIT_TEST_CHAIN_LINT by default Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).