]> git.proxmox.com Git - systemd.git/blob - test/TEST-29-PORTABLE/test.sh
New upstream version 249~rc1
[systemd.git] / test / TEST-29-PORTABLE / test.sh
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
5
6 TEST_DESCRIPTION="test systemd-portabled"
7 IMAGE_NAME="portabled"
8 TEST_NO_NSPAWN=1
9 TEST_INSTALL_VERITY_MINIMAL=1
10
11 # shellcheck source=test/test-functions
12 . "${TEST_BASE_DIR:?}/test-functions"
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
20 instmods overlay =overlayfs
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
30 do_test "$@"