QA:Testcase Anaconda updates.img via local media

From FedoraProject

Revision as of 18:51, 7 May 2012 by Adamwill (Talk | contribs)

Jump to: navigation, search

Description

This test will verify that anaconda can load an updates.img from removable media. Note, this test needs removable media for storing an updates.img (USB storage or floppy disk). Additional information on using an updates.img can be found at Anaconda/Updates.


How to test

  1. Prepare a valid updates.img file. See this page for image creation instructions. A good thing to change in the updates.img is the "What language would you like to use during the installation process?" text in pyanaconda/iw/language_gui.py, as this text is displayed on one of the first screens.
  2. Write the updates.img to your removable media:
    dd if=/tmp/updates.img of=/dev/sdd
  3. Insert the removable drive (USB key or floppy disk)
  4. Boot the installer with the boot argument: updates
  5. When prompted, select the appropriate removable device from the list

Expected Results

  1. The system should install successfully
  2. Anaconda prepares the updates.img and copies its content to /tmp/updates/. Any changes you included in the updates.img file are applied
  3. Anaconda proceeds without related errors