[PATCH 7/7] test-lib: enable GIT_TEST_CHECK_PROGRESS by default
- From
SZEDER Gábor <szeder.dev@gmail.com>
- Date
- Jun 20, 2021, 20:03 UTC
- Message-ID
- <20210620200303.2328957-8-szeder.dev@gmail.com>
- In-Reply-To
- <20210620200303.2328957-1-szeder.dev@gmail.com>
Let's enable GIT_TEST_CHECK_PROGRESS by default, in the hope that it will effectively prevent buggy progress line counters and nested progress lines from entering our codebase in the future.
Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com> --- t/test-lib.sh | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/t/test-lib.sh b/t/test-lib.sh index adaf03543e..ae2dd6d0d2 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -1502,6 +1502,12 @@ then export GIT_TEST_CHECK_CACHE_TREE fi +if test -z "$GIT_TEST_CHECK_PROGRESS" +then + GIT_TEST_CHECK_PROGRESS=true + export GIT_TEST_CHECK_PROGRESS +fi + test_lazy_prereq PIPE ' # test whether the filesystem supports FIFOs test_have_prereq !MINGW,!CYGWIN &&
-- 2.32.0.289.g44fbea0957