aboutsummaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-05-19 13:17:54 -0700
committerJunio C Hamano <gitster@pobox.com>2015-05-19 13:17:54 -0700
commitda3d507ce06b5e081c440a8f4ac85df351b4cd1d (patch)
tree6e80f5329cd722848fd78392278c923646333446 /t/test-lib.sh
parent3e199decd5c02092d3e458be6be10874e12a51dd (diff)
parent92b269f5c5e5c1d51e9318003caf8ae9d076b4e9 (diff)
downloadgit-da3d507ce06b5e081c440a8f4ac85df351b4cd1d.tar.gz
git-da3d507ce06b5e081c440a8f4ac85df351b4cd1d.tar.xz
Merge branch 'jk/test-chain-lint'
Developer support to automatically detect broken &&-chain in the test scripts is now turned on by default. * jk/test-chain-lint: test-lib: turn on GIT_TEST_CHAIN_LINT by default t7502-commit.sh: fix a broken and-chain
Diffstat (limited to 't/test-lib.sh')
-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 4ea99a209..39da9c2d9 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"