diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-07-28 02:13:40 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-07-28 02:35:40 +0300 |
commit | 96ecf699aa0247da9024dc91f6121d8209412c8f (patch) | |
tree | 7322f11b1d1857d76bc6e7d25336b28d22d3bcc7 /t/t1503-rev-parse-verify.sh | |
parent | faececa53f904845b615631f61f158a622c2ce08 (diff) |
leak tests: don't skip some tests under SANITIZE=leak
The '!SANITIZE_LEAK' prerequisite added in 956d2e4639b (tests: add a
test mode for SANITIZE=leak, run it in CI, 2021-09-23) has been used
in various tests to skip individual tests in otherwise leak-free
tests.
Let's change the cases that have become leak-free since then to run
under SANITIZE=leak.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1503-rev-parse-verify.sh')
-rwxr-xr-x | t/t1503-rev-parse-verify.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1503-rev-parse-verify.sh b/t/t1503-rev-parse-verify.sh index ba43168d12..bc136833c1 100755 --- a/t/t1503-rev-parse-verify.sh +++ b/t/t1503-rev-parse-verify.sh @@ -132,7 +132,7 @@ test_expect_success 'use --default' ' test_must_fail git rev-parse --verify --default bar ' -test_expect_success !SANITIZE_LEAK 'main@{n} for various n' ' +test_expect_success 'main@{n} for various n' ' git reflog >out && N=$(wc -l <out) && Nm1=$(($N-1)) && |