From 65bedc8320b6fd19ae246a6e6b7ca856f1dfe627 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 18 Jun 2009 14:35:09 +0200 Subject: [PATCH] add DEBUGFAIL to TEST-10-RAID --- test/TEST-10-RAID/test.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 } -- 2.11.4.GIT