Skip to content

Commit

Permalink
tests: do not omit dracut modules for initramfs.testing
Browse files Browse the repository at this point in the history
We want to know if including dracut modules makes the test fail
instead of masking issues but omitting dracut modules.
  • Loading branch information
LaszloGombos committed Mar 3, 2023
1 parent aca5120 commit a18fcc1
Show file tree
Hide file tree
Showing 17 changed files with 0 additions and 18 deletions.
1 change: 0 additions & 1 deletion test/TEST-02-SYSTEMD/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ test_setup() {
# make the man command succeed always
"$basedir"/dracut.sh -l -i "$TESTDIR"/overlay / \
-a "test systemd" \
-o "network kernel-network-modules" \
-d "piix ide-gd_mod ata_piix ext3 sd_mod" \
-i ./systemd-analyze.sh /lib/dracut/hooks/pre-pivot/00-systemd-analyze.sh \
-i "/bin/true" "/usr/bin/man" \
Expand Down
1 change: 0 additions & 1 deletion test/TEST-03-USR-MOUNT/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ test_setup() {

"$basedir"/dracut.sh -l -i "$TESTDIR"/overlay / \
-a "test watchdog" \
-o "network kernel-network-modules" \
-d "piix ide-gd_mod ata_piix btrfs sd_mod i6300esb ib700wdt" \
--no-hostonly-cmdline -N \
-f "$TESTDIR"/initramfs.testing "$KVERSION" || return 1
Expand Down
1 change: 0 additions & 1 deletion test/TEST-04-FULL-SYSTEMD/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ EOF
"$basedir"/dracut.sh -l -i "$TESTDIR"/overlay / \
-a "test systemd i18n qemu" \
${EXTRA_MACHINE:+-I "$EXTRA_MACHINE"} \
-o "network plymouth lvm mdraid resume crypt caps dm terminfo usrmount kernel-network-modules rngd" \
-d "piix ide-gd_mod ata_piix btrfs sd_mod i6300esb ib700wdt" \
--no-hostonly-cmdline -N \
-f "$TESTDIR"/initramfs.testing "$KVERSION" || return 1
Expand Down
1 change: 0 additions & 1 deletion test/TEST-10-RAID/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ test_setup() {
)

"$basedir"/dracut.sh -l -i "$TESTDIR"/overlay / \
-o "plymouth network kernel-network-modules" \
-a "debug" \
-d "piix ide-gd_mod ata_piix ext2 sd_mod" \
--no-hostonly-cmdline -N \
Expand Down
1 change: 0 additions & 1 deletion test/TEST-11-LVM/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ test_setup() {
inst_hook emergency 000 ./hard-off.sh
)
"$basedir"/dracut.sh -l -i "$TESTDIR"/overlay / \
-o "plymouth network kernel-network-modules" \
-a "debug" \
-d "piix ide-gd_mod ata_piix ext2 sd_mod" \
--no-hostonly-cmdline -N \
Expand Down
1 change: 0 additions & 1 deletion test/TEST-12-RAID-DEG/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ test_setup() {
)

"$basedir"/dracut.sh -l -i "$TESTDIR"/overlay / \
-o "plymouth network kernel-network-modules" \
-a "debug" \
-d "piix ide-gd_mod ata_piix ext2 sd_mod" \
--no-hostonly-cmdline -N \
Expand Down
1 change: 0 additions & 1 deletion test/TEST-13-ENC-RAID-LVM/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ test_setup() {
chmod 0600 "$initdir"/etc/key
)
"$basedir"/dracut.sh -l -i "$TESTDIR"/overlay / \
-o "plymouth network kernel-network-modules" \
-a "debug" \
-d "piix ide-gd_mod ata_piix ext2 sd_mod" \
--no-hostonly-cmdline -N \
Expand Down
1 change: 0 additions & 1 deletion test/TEST-14-IMSM/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ test_setup() {
inst_hook emergency 000 ./hard-off.sh
)
"$basedir"/dracut.sh -l -i "$TESTDIR"/overlay / \
-o "plymouth network kernel-network-modules" \
-a "debug" \
-d "piix ide-gd_mod ata_piix ext2 sd_mod" \
--no-hostonly-cmdline -N \
Expand Down
1 change: 0 additions & 1 deletion test/TEST-15-BTRFSRAID/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ test_setup() {
inst_hook emergency 000 ./hard-off.sh
)
"$basedir"/dracut.sh -l -i "$TESTDIR"/overlay / \
-o "plymouth network kernel-network-modules" \
-a "debug" \
-d "piix ide-gd_mod ata_piix btrfs sd_mod" \
--no-hostonly-cmdline -N \
Expand Down
2 changes: 0 additions & 2 deletions test/TEST-16-DMSQUASH/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,13 @@ test_setup() {

"$basedir"/dracut.sh -l -i "$TESTDIR"/overlay / \
--modules "test dash dmsquash-live qemu" \
--omit "rngd" \
--drivers "ext4 sd_mod" \
--install "mkfs.ext4" \
--no-hostonly --no-hostonly-cmdline \
--force "$TESTDIR"/initramfs.testing "$KVERSION" || return 1

"$basedir"/dracut.sh -l -i "$TESTDIR"/overlay / \
--modules "test dmsquash-live-autooverlay qemu" \
--omit "rngd" \
--drivers "ext4 sd_mod" \
--install "mkfs.ext4" \
--no-hostonly --no-hostonly-cmdline \
Expand Down
1 change: 0 additions & 1 deletion test/TEST-17-LVM-THIN/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ test_setup() {
inst_hook emergency 000 ./hard-off.sh
)
"$basedir"/dracut.sh -l -i "$TESTDIR"/overlay / \
-o "plymouth network kernel-network-modules" \
-a "debug" -I lvs \
-d "piix ide-gd_mod ata_piix ext2 sd_mod" \
--no-hostonly-cmdline -N \
Expand Down
1 change: 0 additions & 1 deletion test/TEST-20-NFS/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,6 @@ test_setup() {

# Make client's dracut image
"$basedir"/dracut.sh -l -i "$TESTDIR"/overlay / \
-o "plymouth" \
-a "dmsquash-live debug watchdog ${USE_NETWORK}" \
--no-hostonly-cmdline -N \
-f "$TESTDIR"/initramfs.testing "$KVERSION" || return 1
Expand Down
1 change: 0 additions & 1 deletion test/TEST-30-ISCSI/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,6 @@ test_setup() {
)
# Make client's dracut image
"$basedir"/dracut.sh -l -i "$TESTDIR"/overlay / \
-o "plymouth dmraid nfs" \
-a "debug ${USE_NETWORK}" \
--no-hostonly-cmdline -N \
-f "$TESTDIR"/initramfs.testing "$KVERSION" || return 1
Expand Down
1 change: 0 additions & 1 deletion test/TEST-35-ISCSI-MULTI/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,6 @@ test_setup() {
)
# Make client's dracut image
"$basedir"/dracut.sh -l -i "$TESTDIR"/overlay / \
-o "plymouth dmraid nfs" \
-a "debug ${USE_NETWORK}" \
--no-hostonly-cmdline -N \
-f "$TESTDIR"/initramfs.testing "$KVERSION" || return 1
Expand Down
1 change: 0 additions & 1 deletion test/TEST-40-NBD/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,6 @@ test_setup() {
)

"$basedir"/dracut.sh -l -i "$TESTDIR"/overlay / \
-o "plymouth iscsi nfs" \
-a "debug watchdog ${USE_NETWORK}" \
--no-hostonly-cmdline -N \
-f "$TESTDIR"/initramfs.testing "$KVERSION" || return 1
Expand Down
1 change: 0 additions & 1 deletion test/TEST-50-MULTINIC/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ test_setup() {
)
# Make client's dracut image
"$basedir"/dracut.sh -l -i "$TESTDIR"/overlay / \
-o "ifcfg plymouth" \
-a "debug watchdog ${USE_NETWORK}" \
--no-hostonly-cmdline -N \
-f "$TESTDIR"/initramfs.testing "$KVERSION" || return 1
Expand Down
1 change: 0 additions & 1 deletion test/TEST-60-BONDBRIDGEVLAN/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,6 @@ test_setup() {
# Make client's dracut image
"$basedir"/dracut.sh -l -i "$TESTDIR"/overlay / \
--no-early-microcode \
-o "plymouth" \
-a "debug ${USE_NETWORK}" \
--no-hostonly-cmdline -N \
-f "$TESTDIR"/initramfs.testing "$KVERSION" || return 1
Expand Down

0 comments on commit a18fcc1

Please sign in to comment.