From: Elijah Newren <newren@gmail.com>
These test scripts have not changed at all recently, but topics in seen have caused these to trigger the linux-leaks test. It has been reported on list, so let's fix the claim that these are leak free and when someone investigates and fixes the problem, they can turn it back on.
Signed-off-by: Elijah Newren <newren@gmail.com>
---
leak tests: ignore some new leaks in a few tests
linux-leaks passes when 'seen' is merged with this topic. A better fix
is probably to bisect to determine which topic caused the memory leak
and plug the leak in that topic (because these test scripts did not have
any changes since the version when they previously passed), but a couple
of quotes:
""" This is sort of water under the bridge, as the other topic is
already in 'master', but come to think of it, the strategy we used with
TEST_PASSES_SANITIZE_LEAK variable was misguided.
... I am tempted to drop the "TEST_PASSES" bit from this script for now,
""" (from https://lore.kernel.org/git/xmqqee6dz5s9.fsf@gitster.g/)
""" But as to the "roadblock" I don't mind the
TEST_PASSES_SANITIZE_LEAK=true being removed from the script at the
slightest sign of trouble. Nobody should have to shift gears and chase
down some memory leak... """ (from
https://lore.kernel.org/git/211217.86a6gyyihr.gmgdl@evledraar.gmail.com/)Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1192%2Fnewren%2Fignore-leaks-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1192/newren/ignore-leaks-v1 Pull-Request: https://github.com/git/git/pull/1192
t/t1430-bad-ref-name.sh | 1 - t/t3211-peel-ref.sh | 1 - t/t6102-rev-list-unexpected-objects.sh | 1 - 3 files changed, 3 deletions(-)
Show changes to 3 files +0 −3
t/t1430-bad-ref-name.sh, t/t3211-peel-ref.sh, t/t6102-rev-list-unexpected-objects.sh
diff --git a/t/t1430-bad-ref-name.sh b/t/t1430-bad-ref-name.sh index ff1c967d550..a3c689819fa 100755 --- a/t/t1430-bad-ref-name.sh +++ b/t/t1430-bad-ref-name.sh @@ -4,7 +4,6 @@ test_description='Test handling of ref names that check-ref-format rejects' GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME -TEST_PASSES_SANITIZE_LEAK=true . ./test-lib.sh test_expect_success setup ' diff --git a/t/t3211-peel-ref.sh b/t/t3211-peel-ref.sh index 9cbc34fc583..37b9d26f4b6 100755 --- a/t/t3211-peel-ref.sh +++ b/t/t3211-peel-ref.sh @@ -4,7 +4,6 @@ test_description='tests for the peel_ref optimization of packed-refs' GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME -TEST_PASSES_SANITIZE_LEAK=true . ./test-lib.sh test_expect_success 'create annotated tag in refs/tags' ' diff --git a/t/t6102-rev-list-unexpected-objects.sh b/t/t6102-rev-list-unexpected-objects.sh index 6f0902b8638..52cde097dd5 100755 --- a/t/t6102-rev-list-unexpected-objects.sh +++ b/t/t6102-rev-list-unexpected-objects.sh @@ -2,7 +2,6 @@ test_description='git rev-list should handle unexpected object types' -TEST_PASSES_SANITIZE_LEAK=true . ./test-lib.sh test_expect_success 'setup well-formed objects' ' base-commit: 5ae4b10f85c8c2c00910cc805458c5c5464841e3
-- gitgitgadget