diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2023-03-31 18:42:38 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2023-03-31 19:23:31 +0200 |
commit | e660c590a5222bc72f7aea8912806aa48b0fb126 (patch) | |
tree | 20422deace1e292d3ca00c966e3dd482594f77bf /test/TEST-79-MEMPRESS | |
parent | TODO: drop items regarding swap-for-hibernate-only-use (diff) | |
download | systemd-e660c590a5222bc72f7aea8912806aa48b0fb126.tar.xz systemd-e660c590a5222bc72f7aea8912806aa48b0fb126.zip |
test: set ReadWritePaths= for test-.services when built w/ coverage
Let's make the dropin, to make the build dir writable for gcov, a bit
more generic, so it can be used by all units starting with prefix test-.
This should help with a bunch of recent reports about missing coverage I
got, as well as with existing test units using DynamicUser=true.
This might feel a bit like a magic trick from behind the curtains, but I
want to touch the actual tests as little as possible, since it makes them
unnecessarily messy (see the various workarounds for sanitizers), and
the coverage reports are generated only in a specific CI job anyway.
Diffstat (limited to 'test/TEST-79-MEMPRESS')
-rwxr-xr-x | test/TEST-79-MEMPRESS/test.sh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/TEST-79-MEMPRESS/test.sh b/test/TEST-79-MEMPRESS/test.sh index 95c8581238..4f9c896492 100755 --- a/test/TEST-79-MEMPRESS/test.sh +++ b/test/TEST-79-MEMPRESS/test.sh @@ -3,8 +3,6 @@ set -e TEST_DESCRIPTION="Test Memory Pressure handling" -# Ignore gcov complaints caused by DynamicUser=true -IGNORE_MISSING_COVERAGE=yes # shellcheck source=test/test-functions . "$TEST_BASE_DIR/test-functions" |