]>
Commit | Line | Data |
---|---|---|
3a6ce677 BR |
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 | |
8b3d4ff0 | 5 | |
3a6ce677 BR |
6 | TEST_DESCRIPTION="test systemd-portabled" |
7 | IMAGE_NAME="portabled" | |
8 | TEST_NO_NSPAWN=1 | |
9 | TEST_INSTALL_VERITY_MINIMAL=1 | |
10 | ||
8b3d4ff0 MB |
11 | # shellcheck source=test/test-functions |
12 | . "${TEST_BASE_DIR:?}/test-functions" | |
3a6ce677 BR |
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 | |
8b3d4ff0 | 20 | instmods overlay =overlayfs |
3a6ce677 BR |
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 | ||
8b3d4ff0 | 30 | do_test "$@" |