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