]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: rename the global service override file for coverage runs 21108/head
authorFrantisek Sumsal <frantisek@sumsal.cz>
Sat, 23 Oct 2021 20:10:24 +0000 (22:10 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Sat, 23 Oct 2021 20:10:24 +0000 (22:10 +0200)
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

index 5dc773cbbc24b5ef0ce4cd22189c87c67b3d31ca..cd9d01f34542c487aa3099cb2729d8a18b27c3da 100644 (file)
@@ -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
 }