From Fedora Project Wiki

Description

This is a critical path test case for the Package-x-generic-16.pngmdadm package. It tests whether a particular mdadm package is capable of correctly assembling a Linux software RAID array. You will need a system which uses one or more Linux software RAID arrays for partitions that are mounted and used by the system. Please ensure the array(s) are working with the existing Package-x-generic-16.pngmdadm package before performing the test, unless the update in question is intended to fix a bug you are currently experiencing and you wish to test the fix.


How to test

  1. Before updating the package, run the command ls /dev/md* and note the result
  2. Install the updated Package-x-generic-16.pngmdadm package you wish to test
  3. Run the command su -c 'dracut /boot/initramfs-test-uname -r.img uname -r' to create a new initramfs to test
  4. Edit the file /etc/grub.conf and change the initramfs entry for the current kernel: the command su -c 'sed -i -e "s,initramfs-uname -r,initramfs-test-uname -r,g" /etc/grub.conf' should usually achieve this
  5. Restart the system, selecting the same kernel to boot
  6. Re-run the command ls /dev/md* and compare the result to the previous run

Expected Results

  1. Upon reboot the software RAID arrays should behave as they did previously (unless you are testing a bug fix for your configuration, in which case they should behave as the fix intends), and be correctly assembled and mountable. The output of the ls /dev/md* command should be the same as before the update, unless you are testing a bug fix, in which case it should be as the bug fix intends it to be.