diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-03-07 13:48:57 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-03-07 13:27:40 -0800 |
commit | 1ff543acd01b9e8cfe9af7c262d118ab0bf4d5e7 (patch) | |
tree | eb90c71e9ff7a5f8bdb8505ba708e67cfde9c4e5 /trace2/tr2_tls.c | |
parent | diff tests: don't ignore "git diff" exit code in "read" loop (diff) | |
download | tgif-1ff543acd01b9e8cfe9af7c262d118ab0bf4d5e7.tar.xz |
apply tests: use "test_must_fail" instead of ad-hoc pattern
Change a fragile test pattern introduced in 6b763c424e4 (git-apply: do
not read past the end of buffer, 2007-09-05). Before this we wouldn't
distinguish normal "git apply" failures from segfaults or abort().
I'd previously marked this test as passing under SANITIZE=leak in
f54f48fc074 (leak tests: mark some apply tests as passing with
SANITIZE=leak, 2021-10-31). Let's remove that annotation as this test
will no longer pass.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'trace2/tr2_tls.c')
0 files changed, 0 insertions, 0 deletions