diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-10-30 22:24:19 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-11-01 18:23:08 (GMT) |
commit | 16d4bd4f14e91ab5f70fb74407fc27fc4c8bfe0f (patch) | |
tree | 35038d8a9109c4c9c9baf2864ad01498ae7eb33b /t/t4006-diff-mode.sh | |
parent | f54f48fc074510a93a18d889a9c3f5dc108efb47 (diff) | |
download | git-16d4bd4f14e91ab5f70fb74407fc27fc4c8bfe0f.zip git-16d4bd4f14e91ab5f70fb74407fc27fc4c8bfe0f.tar.gz git-16d4bd4f14e91ab5f70fb74407fc27fc4c8bfe0f.tar.bz2 |
leak tests: mark some diff tests as passing with SANITIZE=leak
Mark some tests that match "*diff*" as passing when git is compiled
with SANITIZE=leak. They'll now be listed as running under the
"GIT_TEST_PASSING_SANITIZE_LEAK=true" test mode (the "linux-leaks" CI
target).
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4006-diff-mode.sh')
-rwxr-xr-x | t/t4006-diff-mode.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t4006-diff-mode.sh b/t/t4006-diff-mode.sh index 6cdee2a..dbd4c0d 100755 --- a/t/t4006-diff-mode.sh +++ b/t/t4006-diff-mode.sh @@ -6,6 +6,8 @@ test_description='Test mode change diffs. ' + +TEST_PASSES_SANITIZE_LEAK=true . ./test-lib.sh sed_script='s/\(:100644 100755\) \('"$OID_REGEX"'\) \2 /\1 X X /' |