Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/test-asan'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 22 Dec 2014 20:28:08 +0000
(12:28 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 22 Dec 2014 20:28:08 +0000
(12:28 -0800)
* jk/test-asan:
t: support clang/gcc AddressSanitizer
1
2
t/test-lib.sh
patch
|
diff1
|
diff2
|
blob
|
history
raw
|
compact
(merge:
3701aa0
b0f4c90
)
diff --combined
t/test-lib.sh
index 79e8a33d043e7208c2c1a08ab38fad207049ef4c,3177298ead300e219ef333a530f45bbef98464e3..9acdc8826fff1aabf9df5182a64109b7bd16cd8d
---
1
/
t/test-lib.sh
---
2
/
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:
#