mirror of
https://github.com/systemd/systemd
synced 2024-10-07 00:30:59 +00:00
test: install test specific modules in test_append_files()
This commit is contained in:
parent
9e36da1541
commit
23ff8a776c
|
@ -9,6 +9,8 @@ TEST_DESCRIPTION="Tests for systemd-logind"
|
||||||
|
|
||||||
test_append_files() {
|
test_append_files() {
|
||||||
image_install -o evemu-device evemu-event
|
image_install -o evemu-device evemu-event
|
||||||
|
instmods uinput
|
||||||
|
generate_module_dependencies
|
||||||
}
|
}
|
||||||
|
|
||||||
do_test "$@"
|
do_test "$@"
|
||||||
|
|
|
@ -32,6 +32,9 @@ KERNEL_APPEND="${KERNEL_APPEND:-} ${KERNEL_CREDS[*]}"
|
||||||
|
|
||||||
test_append_files() {
|
test_append_files() {
|
||||||
instmods qemu_fw_cfg
|
instmods qemu_fw_cfg
|
||||||
|
if get_bool "$LOOKS_LIKE_SUSE"; then
|
||||||
|
instmods dmi-sysfs
|
||||||
|
fi
|
||||||
generate_module_dependencies
|
generate_module_dependencies
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -966,13 +966,10 @@ install_modules() {
|
||||||
instmods loop =block
|
instmods loop =block
|
||||||
instmods nls_ascii =nls
|
instmods nls_ascii =nls
|
||||||
instmods overlay =overlayfs
|
instmods overlay =overlayfs
|
||||||
# for TEST-35-LOGIN
|
instmods scsi_debug
|
||||||
instmods scsi_debug uinput
|
|
||||||
|
|
||||||
if get_bool "$LOOKS_LIKE_SUSE"; then
|
if get_bool "$LOOKS_LIKE_SUSE"; then
|
||||||
instmods ext4
|
instmods ext4
|
||||||
# for TEST-54-CREDS
|
|
||||||
instmods dmi-sysfs
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue