From: Frantisek Sumsal Date: Sat, 23 Oct 2021 20:10:24 +0000 (+0200) Subject: test: rename the global service override file for coverage runs X-Git-Tag: v250-rc1~438^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d2a39812fd1cbe8475df81a7e37ada5507056f40;p=thirdparty%2Fsystemd.git test: rename the global service override file for coverage runs Otherwise we break TEST-15-DROPIN, since it uses /usr/lib/systemd/system/service.d/override.conf in some of its sub-tests. --- diff --git a/test/test-functions b/test/test-functions index 5dc773cbbc2..cd9d01f3454 100644 --- a/test/test-functions +++ b/test/test-functions @@ -1121,7 +1121,7 @@ install_systemd() { # images, since it prevents gcov to write the coverage reports (*.gcda files) if get_bool "$IS_BUILT_WITH_COVERAGE"; then mkdir -p "$initdir/etc/systemd/system/service.d/" - echo -e "[Service]\nProtectSystem=no\nProtectHome=no\n" >"$initdir/etc/systemd/system/service.d/override.conf" + echo -e "[Service]\nProtectSystem=no\nProtectHome=no\n" >"$initdir/etc/systemd/system/service.d/gcov-override.conf" fi }