]>
Commit | Line | Data |
---|---|---|
ff12a795 | 1 | #!/usr/bin/env bash |
7b3cec95 | 2 | # SPDX-License-Identifier: LGPL-2.1-or-later |
818567fc | 3 | set -e |
3f161ba9 | 4 | |
7ae8162f | 5 | TEST_DESCRIPTION="/etc/machine-id testing" |
3be6f501 | 6 | IMAGE_NAME="badid" |
054ee249 | 7 | TEST_NO_NSPAWN=1 |
c2d4da00 | 8 | |
3f161ba9 FS |
9 | # shellcheck source=test/test-functions |
10 | . "${TEST_BASE_DIR:?}/test-functions" | |
fcb24270 | 11 | |
d9e606e8 | 12 | test_append_files() { |
3f161ba9 | 13 | printf "556f48e837bc4424a710fa2e2c9d3e3c\ne3d\n" >"${1:?}/etc/machine-id" |
fcb24270 EV |
14 | } |
15 | ||
c4cd6205 | 16 | do_test "$@" |