]>
git.ipfire.org Git - thirdparty/systemd.git/blob - test/TEST-74-AUX-UTILS/test.sh
2 # SPDX-License-Identifier: LGPL-2.1-or-later
5 TEST_DESCRIPTION
="Tests for auxiliary utilities"
6 NSPAWN_ARGUMENTS
="--private-network"
8 # shellcheck source=test/test-functions
9 .
"${TEST_BASE_DIR:?}/test-functions"
12 local workspace
="${1:?}"
14 if ! get_bool
"${TEST_PREFER_NSPAWN:-}" && ! get_bool
"${TEST_NO_QEMU:-}"; then
15 # Check if we can correctly boot with an invalid machine ID only if we run
16 # the QEMU test, as nspawn refuses the invalid machine ID with -EUCLEAN
17 printf "556f48e837bc4424a710fa2e2c9d3e3c\ne3d\n" >"$workspace/etc/machine-id"