From: Evgeny Vereshchagin Date: Wed, 30 Jan 2019 02:16:14 +0000 (+0100) Subject: tests: crash PID1 if UBSan is unhappy X-Git-Tag: v241-rc2~2^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a19f909b5be66225dc7597cabdc0a941c8ca4a27;p=thirdparty%2Fsystemd.git 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 :-) --- 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