]> git.ipfire.org Git - thirdparty/systemd.git/blame - test/TEST-50-DISSECT/test.sh
Merge pull request #18007 from fw-strlen/ipv6_masq_and_dnat
[thirdparty/systemd.git] / test / TEST-50-DISSECT / test.sh
CommitLineData
e7cbe5cb
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
5TEST_DESCRIPTION="test systemd-dissect"
6IMAGE_NAME="dissect"
7TEST_NO_NSPAWN=1
9785c44d 8TEST_INSTALL_VERITY_MINIMAL=1
e7cbe5cb
LB
9
10. $TEST_BASE_DIR/test-functions
11
a5f1d665 12command -v sfdisk >/dev/null 2>&1 || exit 0
e7cbe5cb
LB
13
14# Need loop devices for systemd-dissect
d9e606e8 15test_append_files() {
e7cbe5cb 16 (
e7cbe5cb
LB
17 instmods loop =block
18 instmods squashfs =squashfs
19 instmods dm_verity =md
69398734 20 install_dmevent
e7cbe5cb 21 generate_module_dependencies
a5f1d665 22 inst_binary losetup
9785c44d 23 install_verity_minimal
e7cbe5cb
LB
24 )
25}
26
27do_test "$@" 50