diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-09-29 18:04:15 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-09-29 18:04:16 +0200 |
commit | a4eebfadf2da24ba63c9027c1d28e0a9514ed1bd (patch) | |
tree | 4815719601aef9b29bdfa516040109b552c94fcd /t/test-lib.sh | |
parent | Merge branch 'jc/alias-completion' (diff) | |
parent | test-lib: set UBSAN_OPTIONS to match ASan (diff) | |
download | git-a4eebfadf2da24ba63c9027c1d28e0a9514ed1bd.tar.xz git-a4eebfadf2da24ba63c9027c1d28e0a9514ed1bd.zip |
Merge branch 'jk/test-pass-ubsan-options-to-http-test'
UBSAN options were not propagated through the test framework to git
run via the httpd, unlike ASAN options, which has been corrected.
* jk/test-pass-ubsan-options-to-http-test:
test-lib: set UBSAN_OPTIONS to match ASan
Diffstat (limited to 't/test-lib.sh')
-rw-r--r-- | t/test-lib.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh index 5ea5d1d62a..1656c9eed0 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -89,6 +89,9 @@ prepend_var LSAN_OPTIONS : $GIT_SAN_OPTIONS prepend_var LSAN_OPTIONS : fast_unwind_on_malloc=0 export LSAN_OPTIONS +prepend_var UBSAN_OPTIONS : $GIT_SAN_OPTIONS +export UBSAN_OPTIONS + if test ! -f "$GIT_BUILD_DIR"/GIT-BUILD-OPTIONS then echo >&2 'error: GIT-BUILD-OPTIONS missing (has Git been built?).' |