summaryrefslogtreecommitdiff
path: root/test/TEST-10-RAID/test.sh
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2009-06-18 14:35:09 +0200
committerHarald Hoyer <harald@redhat.com>2009-06-18 15:06:32 +0200
commit65bedc8320b6fd19ae246a6e6b7ca856f1dfe627 (patch)
treeb5533e6b40154bd24ac00fb215112afed26ecf8c /test/TEST-10-RAID/test.sh
parenteeb721037b1b5014519ea3d25b30c9ed92a57672 (diff)
downloaddracut-65bedc8320b6fd19ae246a6e6b7ca856f1dfe627.tar.gz
dracut-65bedc8320b6fd19ae246a6e6b7ca856f1dfe627.tar.bz2
dracut-65bedc8320b6fd19ae246a6e6b7ca856f1dfe627.zip
add DEBUGFAIL to TEST-10-RAID
Diffstat (limited to 'test/TEST-10-RAID/test.sh')
-rwxr-xr-xtest/TEST-10-RAID/test.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/TEST-10-RAID/test.sh b/test/TEST-10-RAID/test.sh
index b208760e..59ae01ef 100755
--- a/test/TEST-10-RAID/test.sh
+++ b/test/TEST-10-RAID/test.sh
@@ -3,10 +3,13 @@ TEST_DESCRIPTION="root filesystem on an encrypted LVM PV"
KVERSION=${KVERSION-$(uname -r)}
+# Uncomment this to debug failures
+#DEBUGFAIL="rdinitdebug rdnetdebug"
+
test_run() {
$testdir/run-qemu -hda root.ext2 -m 128M -nographic \
-net none -kernel /boot/vmlinuz-$KVERSION \
- -append "root=/dev/dracut/root rw quiet console=ttyS0,115200n81" \
+ -append "root=/dev/dracut/root rw quiet console=ttyS0,115200n81 $DEBUGFAIL" \
-initrd initramfs.testing
grep -m 1 -q dracut-root-block-success root.ext2 || return 1
}