From d2a39812fd1cbe8475df81a7e37ada5507056f40 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Sat, 23 Oct 2021 22:10:24 +0200 Subject: [PATCH] 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. --- test/test-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.47.3