]> git.ipfire.org Git - thirdparty/systemd.git/blame - test/TEST-22-TMPFILES/test.sh
Merge pull request #18886 from anitazha/shutdownconsole
[thirdparty/systemd.git] / test / TEST-22-TMPFILES / test.sh
CommitLineData
ff12a795 1#!/usr/bin/env bash
e04fc13f
FB
2set -e
3TEST_DESCRIPTION="Tmpfiles related tests"
4TEST_NO_QEMU=1
e04fc13f
FB
5. $TEST_BASE_DIR/test-functions
6
4b252eaa
FS
7test_append_files() {
8 if [[ "$IS_BUILT_WITH_ASAN" == "yes" ]]; then
9 if [[ -z "$initdir" ]]; then
10 echo >&2 "\$initdir is not defined, can't continue"
11 exit 1
12 fi
13
14 sed -i "s/systemd//g" "$initdir/etc/nsswitch.conf"
15 fi
16}
17
c0b97b0f 18do_test "$@" 22