1
0
mirror of https://github.com/systemd/systemd synced 2024-07-09 04:26:06 +00:00

test: install test specific modules in test_append_files()

This commit is contained in:
Yu Watanabe 2023-05-20 05:01:05 +09:00
parent 9e36da1541
commit 23ff8a776c
3 changed files with 6 additions and 4 deletions

View File

@ -9,6 +9,8 @@ TEST_DESCRIPTION="Tests for systemd-logind"
test_append_files() {
image_install -o evemu-device evemu-event
instmods uinput
generate_module_dependencies
}
do_test "$@"

View File

@ -32,6 +32,9 @@ KERNEL_APPEND="${KERNEL_APPEND:-} ${KERNEL_CREDS[*]}"
test_append_files() {
instmods qemu_fw_cfg
if get_bool "$LOOKS_LIKE_SUSE"; then
instmods dmi-sysfs
fi
generate_module_dependencies
}

View File

@ -966,13 +966,10 @@ install_modules() {
instmods loop =block
instmods nls_ascii =nls
instmods overlay =overlayfs
# for TEST-35-LOGIN
instmods scsi_debug uinput
instmods scsi_debug
if get_bool "$LOOKS_LIKE_SUSE"; then
instmods ext4
# for TEST-54-CREDS
instmods dmi-sysfs
fi
}