|
|
a0a3b4 |
From 271a64bfd115897f5c89d18b9a58ed0ecf401866 Mon Sep 17 00:00:00 2001
|
|
|
a0a3b4 |
From: Harald Hoyer <harald@redhat.com>
|
|
|
a0a3b4 |
Date: Thu, 30 Jun 2016 16:36:29 +0200
|
|
|
a0a3b4 |
Subject: [PATCH] TEST-13-ENC-RAID-LVM: add rd.device.timeout=40
|
|
|
a0a3b4 |
|
|
|
a0a3b4 |
---
|
|
|
a0a3b4 |
test/TEST-13-ENC-RAID-LVM/test.sh | 6 +++---
|
|
|
a0a3b4 |
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
a0a3b4 |
|
|
|
a0a3b4 |
diff --git a/test/TEST-13-ENC-RAID-LVM/test.sh b/test/TEST-13-ENC-RAID-LVM/test.sh
|
|
|
a0a3b4 |
index 7f75b32..94801e4 100755
|
|
|
a0a3b4 |
--- a/test/TEST-13-ENC-RAID-LVM/test.sh
|
|
|
a0a3b4 |
+++ b/test/TEST-13-ENC-RAID-LVM/test.sh
|
|
|
a0a3b4 |
@@ -19,7 +19,7 @@ test_run() {
|
|
|
a0a3b4 |
-hdb $TESTDIR/check-success.img \
|
|
|
a0a3b4 |
-m 256M -smp 2 -nographic \
|
|
|
a0a3b4 |
-net none -kernel /boot/vmlinuz-$KVERSION \
|
|
|
a0a3b4 |
- -append "root=/dev/dracut/root rw rd.auto rd.retry=20 console=ttyS0,115200n81 selinux=0 rd.debug rootwait $LUKSARGS $DEBUGFAIL" \
|
|
|
a0a3b4 |
+ -append "root=/dev/dracut/root rw rd.auto rd.retry=20 console=ttyS0,115200n81 selinux=0 $LUKSARGS rd.device.timeout=40 $DEBUGFAIL" \
|
|
|
a0a3b4 |
-initrd $TESTDIR/initramfs.testing
|
|
|
a0a3b4 |
grep -F -m 1 -q dracut-root-block-success $TESTDIR/check-success.img || return 1
|
|
|
a0a3b4 |
echo "CLIENT TEST END: [OK]"
|
|
|
a0a3b4 |
@@ -32,7 +32,7 @@ test_run() {
|
|
|
a0a3b4 |
-hdb $TESTDIR/check-success.img \
|
|
|
a0a3b4 |
-m 256M -smp 2 -nographic \
|
|
|
a0a3b4 |
-net none -kernel /boot/vmlinuz-$KVERSION \
|
|
|
a0a3b4 |
- -append "root=/dev/dracut/root rw quiet rd.auto rd.retry=20 rd.info console=ttyS0,115200n81 selinux=0 rd.debug $DEBUGFAIL" \
|
|
|
a0a3b4 |
+ -append "root=/dev/dracut/root rw quiet rd.auto rd.retry=20 rd.info console=ttyS0,115200n81 selinux=0 rd.device.timeout=40 $DEBUGFAIL" \
|
|
|
a0a3b4 |
-initrd $TESTDIR/initramfs.testing
|
|
|
a0a3b4 |
grep -F -m 1 -q dracut-root-block-success $TESTDIR/check-success.img || return 1
|
|
|
a0a3b4 |
echo "CLIENT TEST END: [OK]"
|
|
|
a0a3b4 |
@@ -45,7 +45,7 @@ test_run() {
|
|
|
a0a3b4 |
-hdb $TESTDIR/check-success.img \
|
|
|
a0a3b4 |
-m 256M -smp 2 -nographic \
|
|
|
a0a3b4 |
-net none -kernel /boot/vmlinuz-$KVERSION \
|
|
|
a0a3b4 |
- -append "root=/dev/dracut/root rw quiet rd.auto rd.retry=10 rd.info console=ttyS0,115200n81 selinux=0 rd.debug $DEBUGFAIL rd.luks.uuid=failme" \
|
|
|
a0a3b4 |
+ -append "root=/dev/dracut/root rw quiet rd.auto rd.retry=10 rd.info console=ttyS0,115200n81 selinux=0 rd.debug rd.luks.uuid=failme rd.device.timeout=40 $DEBUGFAIL" \
|
|
|
a0a3b4 |
-initrd $TESTDIR/initramfs.testing
|
|
|
a0a3b4 |
grep -F -m 1 -q dracut-root-block-success $TESTDIR/check-success.img && return 1
|
|
|
a0a3b4 |
echo "CLIENT TEST END: [OK]"
|