[PATCH 0/2] fix GIT_TEST_SANITIZE_LEAK_LOG=true
- From
Rubén Justo <rjusto@gmail.com>
- Date
- Sep 9, 2023, 23:03 UTC
- Message-ID
- <68522960-edda-26d3-ddca-cee63f2d859e@gmail.com>
While using "make test" I noticed that invert_exit_code used by GIT_TEST_SANITIZE_LEAK_LOG=true produces unexpected results.
$ git checkout v2.40.1 $ make test SANITIZE=leak T=t3200-branch.sh # fails $ make test SANITIZE=leak GIT_TEST_SANITIZE_LEAK_LOG=true T=t3200-branch.sh # succeeds
Rubén Justo (2): test-lib: prevent misuses of --invert-exit-code test-lib: fix GIT_TEST_SANITIZE_LEAK_LOG
t/test-lib.sh | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-)
-- 2.40.1