]>
Commit | Line | Data |
---|---|---|
ff12a795 | 1 | #!/usr/bin/env bash |
e04fc13f FB |
2 | set -e |
3 | TEST_DESCRIPTION="Tmpfiles related tests" | |
4 | TEST_NO_QEMU=1 | |
e04fc13f FB |
5 | . $TEST_BASE_DIR/test-functions |
6 | ||
4b252eaa FS |
7 | test_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 | 18 | do_test "$@" 22 |