From 607be850b9f67b061b3893939ab3874273e499b8 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Thu, 28 Mar 2024 14:57:26 +0100 Subject: [PATCH] test: make coverage runs happy with capsule@.service capsule@.service uses DynamicUser=yes, so let's use the same tweak we use for other such units. --- test/test-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-functions b/test/test-functions index 0c0ffa1545e..112f8b065c7 100644 --- a/test/test-functions +++ b/test/test-functions @@ -1494,7 +1494,7 @@ install_systemd() { # units using DynamicUser=yes. Do this only for services with test- prefix and a couple of # known-to-use DynamicUser=yes services, as setting this system-wide has many undesirable # side-effects, as it creates its own namespace. - for service in test- systemd-journal-{gatewayd,upload}; do + for service in capsule@ test- systemd-journal-{gatewayd,upload}; do mkdir -p "$initdir/etc/systemd/system/$service.service.d/" echo -ne "[Service]\nReadWritePaths=${BUILD_DIR:?}\n" >"$initdir/etc/systemd/system/$service.service.d/99-gcov-rwpaths-override.conf" done -- 2.47.3