]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tests: crash PID1 if UBSan is unhappy 11592/head
authorEvgeny Vereshchagin <evvers@ya.ru>
Wed, 30 Jan 2019 02:16:14 +0000 (03:16 +0100)
committerEvgeny Vereshchagin <evvers@ya.ru>
Wed, 30 Jan 2019 02:16:14 +0000 (03:16 +0100)
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

index 057be62e89057cf686947ce66c6bba9ca4c5214d..3243a868b760efff264e69760630bc1604bc3d12 100644 (file)
@@ -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