From a19f909b5be66225dc7597cabdc0a941c8ca4a27 Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Wed, 30 Jan 2019 03:16:14 +0100 Subject: [PATCH] tests: crash PID1 if UBSan is unhappy Now that https://github.com/systemd/systemd/issues/10332 is unlikely to happen it should be totally fine to try to crash PID1 :-) --- test/test-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test-functions b/test/test-functions index 057be62e890..3243a868b76 100644 --- a/test/test-functions +++ b/test/test-functions @@ -344,8 +344,8 @@ create_asan_wrapper() { set -x DEFAULT_ASAN_OPTIONS=strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1 -DEFAULT_UBSAN_OPTIONS=print_stacktrace=1:print_summary=1 -DEFAULT_ENVIRONMENT="ASAN_OPTIONS=\$DEFAULT_ASAN_OPTIONS UBSAN_OPTIONS=\$DEFAULT_UBSAN_OPTIONS:halt_on_error=1" +DEFAULT_UBSAN_OPTIONS=print_stacktrace=1:print_summary=1:halt_on_error=1 +DEFAULT_ENVIRONMENT="ASAN_OPTIONS=\$DEFAULT_ASAN_OPTIONS UBSAN_OPTIONS=\$DEFAULT_UBSAN_OPTIONS" mount -t proc proc /proc mount -t sysfs sysfs /sys -- 2.47.3