2020-03-04 09:35:06 +00:00
|
|
|
#!/usr/bin/env bash
|
2021-10-17 16:13:06 +00:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2019-06-25 08:40:16 +00:00
|
|
|
set -e
|
2021-04-19 11:01:59 +00:00
|
|
|
|
2019-06-25 08:40:16 +00:00
|
|
|
TEST_DESCRIPTION="test migrating state directory from DynamicUser=1 to DynamicUser=0 and back"
|
2022-10-17 12:31:25 +00:00
|
|
|
# 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
|
2021-04-19 11:01:59 +00:00
|
|
|
|
|
|
|
# shellcheck source=test/test-functions
|
|
|
|
. "${TEST_BASE_DIR:?}/test-functions"
|
2019-06-25 08:40:16 +00:00
|
|
|
|
2021-04-26 17:20:18 +00:00
|
|
|
do_test "$@"
|