mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
6f255fe191
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 "$@"
|