add DEBUGFAIL to TEST-10-RAID
authorHarald Hoyer <harald@redhat.com>
Thu, 18 Jun 2009 12:35:09 +0000 (14:35 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 18 Jun 2009 13:06:32 +0000 (15:06 +0200)
test/TEST-10-RAID/test.sh

index b208760..59ae01e 100755 (executable)
@@ -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
 }