strtoul_ui: reject negative values
[gitweb.git] / t / test-lib.sh
index 05efbad71c6121ea06f4855ee1fe4caf5bad3426..cea6cda6048e22e111f2c1f2c216d448868394ac 100644 (file)
@@ -570,7 +570,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"