]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ab/leak-check'
authorJunio C Hamano <gitster@pobox.com>
Fri, 12 Aug 2022 20:19:08 +0000 (13:19 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Aug 2022 20:19:08 +0000 (13:19 -0700)
commit657c7403a3c15ac670f82d0ace38bab810755e10
tree34f099d7f9557a1b476ba955867ff66c104bee2a
parentf0e9754a277742b3845cf52cbf30d8d0238f6df0
parentc24feabcfb590ffd1eac73e62c0e2187479ca880
Merge branch 'ab/leak-check'

Extend SANITIZE=leak checking and declare more tests "currently leak-free".

* ab/leak-check:
  CI: use "GIT_TEST_SANITIZE_LEAK_LOG=true" in linux-leaks
  upload-pack: fix a memory leak in create_pack_file()
  leak tests: mark passing SANITIZE=leak tests as leak-free
  leak tests: don't skip some tests under SANITIZE=leak
  test-lib: have the "check" mode for SANITIZE=leak consider leak logs
  test-lib: add a GIT_TEST_PASSING_SANITIZE_LEAK=check mode
  test-lib: simplify by removing test_external
  tests: move copy/pasted PERL + Test::More checks to a lib-perl.sh
  t/Makefile: don't remove test-results in "clean-except-prove-cache"
  test-lib: add a SANITIZE=leak logging mode
  t/README: reword the "GIT_TEST_PASSING_SANITIZE_LEAK" description
  test-lib: add a --invert-exit-code switch
  test-lib: fix GIT_EXIT_OK logic errors, use BAIL_OUT
  test-lib: don't set GIT_EXIT_OK before calling test_atexit_handler
  test-lib: use $1, not $@ in test_known_broken_{ok,failure}_
t/t5351-unpack-large-objects.sh
t/test-lib-functions.sh