1#!/usr/bin/env bash 2# SPDX-License-Identifier: LGPL-2.1-or-later 3set -e 4 5TEST_DESCRIPTION="/etc/machine-id testing" 6IMAGE_NAME="badid" 7TEST_NO_NSPAWN=1 8 9# shellcheck source=test/test-functions 10. "${TEST_BASE_DIR:?}/test-functions" 11 12test_append_files() { 13 printf "556f48e837bc4424a710fa2e2c9d3e3c\ne3d\n" >"${1:?}/etc/machine-id" 14} 15 16do_test "$@" 17