Skip to content

fix GIT_TEST_SANITIZE_LEAK_LOG=true

Rubén Justo git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2test-lib: prevent misuses of --invert-exit-codet/test-lib.sh+14 -44 replies
2/2test-lib: fix GIT_TEST_SANITIZE_LEAK_LOGt/test-lib.sh+2 -16 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchEric SunshineJeff King
SeriesHelped-by Helped-by
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] fix GIT_TEST_SANITIZE_LEAK_LOG=true

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(-)
Signature · 1 line
2.40.1