mirror of
https://github.com/systemd/systemd.git
synced 2024-10-30 23:21:22 +03:00
788a0ef179
Ensures we can open a dm-integrity volume formated with integritysetup.
28 lines
454 B
Bash
Executable File
28 lines
454 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
set -e
|
|
|
|
TEST_DESCRIPTION="dm-integrity test"
|
|
|
|
TEST_NO_NSPAWN=1
|
|
QEMU_TIMEOUT=300
|
|
|
|
# shellcheck source=test/test-functions
|
|
. "${TEST_BASE_DIR:?}/test-functions"
|
|
|
|
test_append_files() {(
|
|
|
|
instmods loop =block
|
|
instmods dm_integrity =md
|
|
|
|
inst_binary losetup
|
|
inst_binary integritysetup
|
|
inst_binary blkid
|
|
install_dmevent
|
|
|
|
generate_module_dependencies
|
|
|
|
)}
|
|
|
|
do_test "$@"
|