1#!/usr/bin/env bash 2# SPDX-License-Identifier: LGPL-2.1-or-later 3set -e 4 5TEST_DESCRIPTION="test credentials" 6NSPAWN_ARGUMENTS="${NSPAWN_ARGUMENTS:-} --set-credential=mynspawncredential:strangevalue" 7QEMU_OPTIONS="${QEMU_OPTIONS:-} -fw_cfg name=opt/io.systemd.credentials/myqemucredential,string=othervalue" 8KERNEL_APPEND="${KERNEL_APPEND:-} systemd.set_credential=kernelcmdlinecred:uff rd.systemd.import_credentials=no" 9 10# shellcheck source=test/test-functions 11. "${TEST_BASE_DIR:?}/test-functions" 12 13test_append_files() { 14 instmods qemu_fw_cfg 15 generate_module_dependencies 16} 17 18do_test "$@" 19