QA:Testcase Mediakit FileConflicts

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(update for Fedora 18)
Line 1: Line 1:
 
{{QA/Test_Case
 
{{QA/Test_Case
|description=This test will read in metadata of all packages included on DVD media and determine whether any package or file conflicts exist.
+
|description=This is to verify that there are no file conflicts between packages located on the {{filename|DVD.iso}} image.
 
|actions=
 
|actions=
# Download the DVD image
+
# Mount the {{filename|DVD.iso}} image using a loopback to a directory, for example: {{#tag:pre|# mount -o loop Fedora-{{FedoraVersionNumber|next}}-x86_64-DVD.iso /media/}}
# Mount the ISO, for example: <pre>mount -o loop Fedora-12-i386-DVD.iso /media/ </pre>
+
#* Alternatively, if you have a physical media, insert it into the computer and make sure it is mounted.
# Next, download the [http://git.fedorahosted.org/git/?p=autoqa.git;a=blob_plain;f=tests/conflicts/potential_conflict.py;hb=HEAD potential_conflict.py] script.
+
# Download the [http://git.fedorahosted.org/git/?p=autoqa.git;a=blob_plain;f=tests/conflicts/potential_conflict.py;hb=HEAD potential_conflict.py] script.
 
# Check for file conflicts by running the script: <pre>python potential_conflict.py --repofrompath=media,/media -r media</pre>
 
# Check for file conflicts by running the script: <pre>python potential_conflict.py --repofrompath=media,/media -r media</pre>
 
|results=
 
|results=
# The {{filename|potential_conflict.py}} script completes successfully
+
# The {{filename|potential_conflict.py}} script completes successfully.
# No package or file conflicts were detected for packages included in the media kit
+
# No package or file conflicts were detected.
 
}}
 
}}
  
 
[[Category:Installer_Image_Sanity_Test_Cases]]
 
[[Category:Installer_Image_Sanity_Test_Cases]]

Revision as of 10:02, 29 October 2012

Description

This is to verify that there are no file conflicts between packages located on the DVD.iso image.


How to test

  1. Mount the DVD.iso image using a loopback to a directory, for example:
    # mount -o loop Fedora-22-x86_64-DVD.iso /media/
    • Alternatively, if you have a physical media, insert it into the computer and make sure it is mounted.
  2. Download the potential_conflict.py script.
  3. Check for file conflicts by running the script:
    python potential_conflict.py --repofrompath=media,/media -r media

Expected Results

  1. The potential_conflict.py script completes successfully.
  2. No package or file conflicts were detected.