]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
test: list only the required modules explicitly
authorLaszlo Gombos <laszlo.gombos@gmail.com>
Tue, 22 Feb 2022 14:25:44 +0000 (09:25 -0500)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Thu, 2 Jun 2022 13:43:59 +0000 (13:43 +0000)
Test for module dependencies and increase test coverage.

test/TEST-01-BASIC/test.sh

index 446aaf16403dbc5350a68c53cdca5c03e0367c39..390089b6e2f9c2db74e15f0c117d0f27220cdac8 100755 (executable)
@@ -78,7 +78,7 @@ test_setup() {
     # We do it this way so that we do not risk trashing the host mdraid
     # devices, volume groups, encrypted partitions, etc.
     "$basedir"/dracut.sh -l -i "$TESTDIR"/overlay / \
-        -m "dash udev-rules base rootfs-block fs-lib kernel-modules fs-lib qemu" \
+        -m "dash rootfs-block kernel-modules qemu" \
         -d "piix ide-gd_mod ata_piix ext3 sd_mod" \
         --nomdadmconf \
         --no-hostonly-cmdline -N \