From: Junio C Hamano Date: Mon, 22 Dec 2014 20:28:08 +0000 (-0800) Subject: Merge branch 'jk/test-asan' X-Git-Tag: v2.3.0-rc0~42 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/9f240ec60f29e2b9981dc33fd21b3623158f541f?hp=-c Merge branch 'jk/test-asan' * jk/test-asan: t: support clang/gcc AddressSanitizer --- 9f240ec60f29e2b9981dc33fd21b3623158f541f diff --combined t/test-lib.sh index 79e8a33d04,3177298ead..9acdc8826f --- a/t/test-lib.sh +++ b/t/test-lib.sh @@@ -140,6 -140,9 +140,9 @@@ els } fi + : ${ASAN_OPTIONS=detect_leaks=0} + export ASAN_OPTIONS + # Protect ourselves from common misconfiguration to export # CDPATH into the environment unset CDPATH @@@ -169,11 -172,7 +172,11 @@@ _z40=0000000000000000000000000000000000 LF=' ' -export _x05 _x40 _z40 LF +# UTF-8 ZERO WIDTH NON-JOINER, which HFS+ ignores +# when case-folding filenames +u200c=$(printf '\342\200\214') + +export _x05 _x40 _z40 LF u200c # Each test should start with something like this, after copyright notices: #