From: Harald Hoyer Date: Thu, 18 Jun 2009 12:35:09 +0000 (+0200) Subject: add DEBUGFAIL to TEST-10-RAID X-Git-Tag: 0.1~20 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=65bedc8320b6fd19ae246a6e6b7ca856f1dfe627;p=thirdparty%2Fdracut.git add DEBUGFAIL to TEST-10-RAID --- diff --git a/test/TEST-10-RAID/test.sh b/test/TEST-10-RAID/test.sh index b208760e9..59ae01eff 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 }