]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test(RAID-DEG): make it not flaky
authorLaszlo Gombos <laszlo.gombos@gmail.com>
Sat, 20 Jul 2024 16:57:24 +0000 (12:57 -0400)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Sat, 20 Jul 2024 20:25:02 +0000 (16:25 -0400)
130f4dfce48b187944be9a0cacca794dd32428ad inadvertently made this
test flaky by including additional dracut modules not required
to pass the test.

test/TEST-12-RAID-DEG/test.sh

index be6cb733659c48786923cdcf4cb233106f86748b..3735d72adddfa8da51d52c2f2202b57424af6a0b 100755 (executable)
@@ -97,8 +97,7 @@ test_setup() {
     chmod 0600 /tmp/key
 
     test_dracut \
-        -a "crypt lvm mdraid" \
-        -o "systemd" \
+        -m "bash crypt lvm mdraid kernel-modules" \
         -i "./cryptroot-ask.sh" "/sbin/cryptroot-ask" \
         -i "/tmp/mdadm.conf" "/etc/mdadm.conf" \
         -i "/tmp/crypttab" "/etc/crypttab" \