]> git.ipfire.org Git - thirdparty/systemd.git/blame - test/TEST-29-PORTABLE/test.sh
Merge pull request #18863 from keszybz/cmdline-escaping
[thirdparty/systemd.git] / test / TEST-29-PORTABLE / test.sh
CommitLineData
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
4set -e
3f161ba9 5
e26fe5f9
LB
6TEST_DESCRIPTION="test systemd-portabled"
7IMAGE_NAME="portabled"
8TEST_NO_NSPAWN=1
9TEST_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
15test_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 30do_test "$@"