From 570766c8b612c734fed642b74218bf1be142ebb1 Mon Sep 17 00:00:00 2001
From: Yu Watanabe <watanabe.yu+github@gmail.com>
Date: Wed, 6 Dec 2023 13:32:15 +0900
Subject: [PATCH 0181/1160] test: make install_mdadm() also install relevant
 kernel modules

Installing mdadm without kernel modules is mostly meaningless.

(cherry picked from commit 4ed943e97bb7ef4227837f7a6f607cd313cae70b)
---
 test/test-functions | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/test-functions b/test/test-functions
index 8e5570aa01..2fc207e44c 100644
--- a/test/test-functions
+++ b/test/test-functions
@@ -1290,6 +1290,7 @@ install_mdadm() {
         system-shutdown/mdadm.shutdown
     )
 
+    instmods "=md"
     image_install mdadm mdmon
     inst_rules 01-md-raid-creating.rules 63-md-raid-arrays.rules 64-md-raid-assembly.rules 69-md-clustered-confirm-device.rules
     # Fedora/CentOS/RHEL ships this rule file
-- 
2.33.0