mirror of
https://github.com/systemd/systemd
synced 2024-09-06 16:56:43 +00:00
![Frantisek Sumsal](/assets/img/avatar_default.png)
TEST-34 complains in `test_check_writable` when running with gcov, as the build directory tree is not writable with DynamicUser=true. As I had no luck with $GCOV_PREFIX and other runtime gcov configuration, let's just ignore the gcov errors for this test.
16 lines
538 B
Bash
Executable file
16 lines
538 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
set -e
|
|
|
|
TEST_DESCRIPTION="test migrating state directory from DynamicUser=1 to DynamicUser=0 and back"
|
|
# Certain subtests run with DynamicUser=true which makes writing the gcov
|
|
# artifacts impossible. As $GCOV_PREFIX and friends seem to be ineffective
|
|
# in this situation, let's simply ignore all gcov complaints for the whole
|
|
# test to make it happy.
|
|
IGNORE_MISSING_COVERAGE=yes
|
|
|
|
# shellcheck source=test/test-functions
|
|
. "${TEST_BASE_DIR:?}/test-functions"
|
|
|
|
do_test "$@"
|