From Fedora Project Wiki

Revision as of 15:08, 21 December 2009 by Jlaska (talk | contribs) (First draft)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This test will read in metadata of all packages on a media kit (CD or DVD) and determine whether any file conflicts exist. Note, the example used in this test applies to the i386 platform. However, this test can be used to detect package file conflicts on other supported platforms.


How to test

  1. Download the DVD image
  2. Mount the ISO, for example:
    mount -o loop Fedora-12-i386-DVD.iso /media/ 
  3. Next, install the Package-x-generic-16.pngautoqa package. You may install it using yum install autoqa or by checking it out from git
    git clone git://git.fedorahosted.org/autoqa.git 
  4. Check for file conflicts by running the script potential_conflict.py. If operating out of the git checkout, you may need to change to the directory autoqa/tests/conflicts.
    python potential_conflict.py --repofrompath=media,/media -a i386 -r media

Expected Results

  1. The potential_conflict.py script completes successfully
  2. No package or file conflicts were detected for packages included in the media kit