2021-02-01 14:29:40 +00:00
|
|
|
#!/usr/bin/env bash
|
2021-10-17 16:13:06 +00:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2021-02-01 14:29:40 +00:00
|
|
|
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
|
|
|
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
|
|
|
set -e
|
2021-04-19 11:01:59 +00:00
|
|
|
|
2021-02-01 14:29:40 +00:00
|
|
|
TEST_DESCRIPTION="test systemd-portabled"
|
|
|
|
IMAGE_NAME="portabled"
|
|
|
|
TEST_NO_NSPAWN=1
|
|
|
|
TEST_INSTALL_VERITY_MINIMAL=1
|
|
|
|
|
2021-04-19 11:01:59 +00:00
|
|
|
# shellcheck source=test/test-functions
|
|
|
|
. "${TEST_BASE_DIR:?}/test-functions"
|
2021-02-01 14:29:40 +00:00
|
|
|
|
|
|
|
test_append_files() {
|
2023-05-14 11:13:24 +00:00
|
|
|
instmods squashfs =squashfs
|
|
|
|
instmods dm_verity =md
|
|
|
|
install_dmevent
|
|
|
|
generate_module_dependencies
|
|
|
|
inst_binary mksquashfs
|
|
|
|
inst_binary unsquashfs
|
|
|
|
install_verity_minimal
|
2021-02-01 14:29:40 +00:00
|
|
|
}
|
|
|
|
|
2021-04-26 17:20:18 +00:00
|
|
|
do_test "$@"
|