mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 10:13:34 +08:00
e660c590a5
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.
15 lines
261 B
Bash
Executable File
15 lines
261 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
set -e
|
|
|
|
TEST_DESCRIPTION="Test Memory Pressure handling"
|
|
|
|
# shellcheck source=test/test-functions
|
|
. "$TEST_BASE_DIR/test-functions"
|
|
|
|
test_append_files() {
|
|
image_install base64
|
|
}
|
|
|
|
do_test "$@"
|