diff options
author | Jeff King <peff@peff.net> | 2017-07-10 09:24:39 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-07-10 10:02:28 -0700 |
commit | bf1ce904b753b76ac3e20dde68777ce4625b60ed (patch) | |
tree | 7f3efa8c2a432d9964101aada050b6d25693fc6a /t/t4013/diff.log_--patch-with-stat_master | |
parent | test-lib: set ASAN_OPTIONS variable before we run git (diff) | |
download | tgif-bf1ce904b753b76ac3e20dde68777ce4625b60ed.tar.xz |
test-lib: turn on ASan abort_on_error by default
By default, ASan will exit with code 1 when it sees an
error. This means we'll notice a problem when we expected
git to succeed, but not in a test_must_fail block.
Let's ask it to actually raise SIGABRT instead. That will
give us a signal death that test_must_fail will notice. As a
bonus, it may also leave a coredump, which can be handy for
digging into a failure.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.log_--patch-with-stat_master')
0 files changed, 0 insertions, 0 deletions