From 5d76ea4ffdc0ee786ca3a434a5dfdac545cafbe6 Mon Sep 17 00:00:00 2001 From: Jo Zzsi Date: Mon, 19 Aug 2024 08:55:41 -0400 Subject: [PATCH] test: improve tests to work in hostonly mode --- test/TEST-04-FULL-SYSTEMD/test.sh | 1 - test/TEST-10-RAID/test.sh | 2 +- test/TEST-13-ENC-RAID-LVM/test.sh | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/test/TEST-04-FULL-SYSTEMD/test.sh b/test/TEST-04-FULL-SYSTEMD/test.sh index 8cbf3483c..525b3840b 100755 --- a/test/TEST-04-FULL-SYSTEMD/test.sh +++ b/test/TEST-04-FULL-SYSTEMD/test.sh @@ -127,7 +127,6 @@ EOF echo -n test > /tmp/key test_dracut \ - --no-hostonly \ -m "btrfs dracut-systemd i18n systemd-ac-power systemd-coredump systemd-creds systemd-cryptsetup systemd-integritysetup systemd-ldconfig systemd-pcrphase systemd-pstore systemd-repart systemd-sysext systemd-veritysetup" \ -i "/tmp/key" "/etc/key" \ "$TESTDIR"/initramfs.testing diff --git a/test/TEST-10-RAID/test.sh b/test/TEST-10-RAID/test.sh index 45db24869..874987ca7 100755 --- a/test/TEST-10-RAID/test.sh +++ b/test/TEST-10-RAID/test.sh @@ -58,7 +58,7 @@ test_setup() { echo -n "test" > /tmp/key test_dracut \ - --no-hostonly \ + -a "crypt lvm mdraid" \ -i "./cryptroot-ask.sh" "/sbin/cryptroot-ask" \ -i "/tmp/crypttab" "/etc/crypttab" \ -i "/tmp/key" "/etc/key" \ diff --git a/test/TEST-13-ENC-RAID-LVM/test.sh b/test/TEST-13-ENC-RAID-LVM/test.sh index ca775eb1c..a535ee4cd 100755 --- a/test/TEST-13-ENC-RAID-LVM/test.sh +++ b/test/TEST-13-ENC-RAID-LVM/test.sh @@ -98,7 +98,7 @@ test_setup() { chmod 0600 /tmp/key test_dracut \ - --no-hostonly \ + -a "crypt lvm mdraid" \ -i "./cryptroot-ask.sh" "/sbin/cryptroot-ask" \ -i "/tmp/crypttab" "/etc/crypttab" \ -i "/tmp/key" "/etc/key" \