From: Frantisek Sumsal Date: Fri, 23 Sep 2022 22:00:36 +0000 (+0900) Subject: test: introduce a simple environment file for test service X-Git-Tag: v252-rc1~34^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=25213e16f7bfb371e6a37b520bb256a3202953c2;p=thirdparty%2Fsystemd.git test: introduce a simple environment file for test service --- diff --git a/test/test-functions b/test/test-functions index 58860dc9447..06652cfad64 100644 --- a/test/test-functions +++ b/test/test-functions @@ -854,7 +854,15 @@ fi DEFAULT_ASAN_OPTIONS=${ASAN_OPTIONS:-strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1} DEFAULT_UBSAN_OPTIONS=${UBSAN_OPTIONS:-print_stacktrace=1:print_summary=1:halt_on_error=1} -DEFAULT_ENVIRONMENT="ASAN_OPTIONS=\$DEFAULT_ASAN_OPTIONS UBSAN_OPTIONS=\$DEFAULT_UBSAN_OPTIONS LSAN_OPTIONS=\$DEFAULT_LSAN_OPTIONS" +DEFAULT_ENVIRONMENT="ASAN_OPTIONS=\$DEFAULT_ASAN_OPTIONS UBSAN_OPTIONS=\$DEFAULT_UBSAN_OPTIONS" + +# Create a simple environment file which can be included by systemd services +# that need it (i.e. services that utilize DynamicUser=true and bash, etc.) +cat >/usr/lib/systemd/systemd-asan-env < not found" issues in the future