]>
Commit | Line | Data |
---|---|---|
e26fe5f9 LB |
1 | #!/usr/bin/env bash |
2 | # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- | |
3 | # ex: ts=8 sw=4 sts=4 et filetype=sh | |
4 | set -e | |
3f161ba9 | 5 | |
e26fe5f9 LB |
6 | TEST_DESCRIPTION="test systemd-portabled" |
7 | IMAGE_NAME="portabled" | |
8 | TEST_NO_NSPAWN=1 | |
9 | TEST_INSTALL_VERITY_MINIMAL=1 | |
10 | ||
3f161ba9 FS |
11 | # shellcheck source=test/test-functions |
12 | . "${TEST_BASE_DIR:?}/test-functions" | |
e26fe5f9 LB |
13 | |
14 | # Need loop devices for mounting images | |
15 | test_append_files() { | |
16 | ( | |
17 | instmods loop =block | |
18 | instmods squashfs =squashfs | |
19 | instmods dm_verity =md | |
907952bb | 20 | instmods overlay =overlayfs |
e26fe5f9 LB |
21 | install_dmevent |
22 | generate_module_dependencies | |
23 | inst_binary losetup | |
24 | inst_binary mksquashfs | |
25 | inst_binary unsquashfs | |
26 | install_verity_minimal | |
27 | ) | |
28 | } | |
29 | ||
c4cd6205 | 30 | do_test "$@" |