]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: set `ReadWritePaths=$BUILD_DIR` when running w/ coverage
authorFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 14 Feb 2022 19:19:51 +0000 (20:19 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 14 Feb 2022 21:59:33 +0000 (21:59 +0000)
commitb6fc52408afa91f2fb7650e6a7d42c65396e7815
tree2010f23b2aefe55d102160e7610da7a665a053f4
parentf3376ee8fa28aab3f7edfad1ddfbcceca5bc841c
test: set `ReadWritePaths=$BUILD_DIR` when running w/ coverage

otherwise units using `DynamicUser=yes` won't be able to write the
coverage stats (currently affecting TEST-20-MAINPIDGAMES).

`DynamicUser=yes` implies `ProtectSystem=strict` and
`ProtectHome=read-only` and can't be overridden hence we need to
utilize `ReadWritePaths=` to work around that.
test/test-functions