]> git.proxmox.com Git - systemd.git/blame - test/TEST-29-PORTABLE/test.sh
New upstream version 249~rc1
[systemd.git] / test / TEST-29-PORTABLE / test.sh
CommitLineData
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
4set -e
8b3d4ff0 5
3a6ce677
BR
6TEST_DESCRIPTION="test systemd-portabled"
7IMAGE_NAME="portabled"
8TEST_NO_NSPAWN=1
9TEST_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
15test_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 30do_test "$@"