QA:Testcase Mediakit FileConflicts

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(file conflicts between packages with an explicit Conflicts: tag are okay)
Line 1: Line 1:
 
{{QA/Test_Case
 
{{QA/Test_Case
|description=This is to verify that there are no file conflicts between packages located on the {{filename|DVD.iso}} image.
+
|description=This is to verify that there are no file conflicts between packages without an explicit Conflicts: tag located on the {{filename|DVD.iso}} image.
 
|actions=
 
|actions=
 
# 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 {{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/}}
Line 8: Line 8:
 
|results=
 
|results=
 
# The {{filename|potential_conflict.py}} script completes successfully.
 
# The {{filename|potential_conflict.py}} script completes successfully.
# No file conflicts were detected.
+
# No file conflicts between packages without an explicit Conflicts: tag were detected.
 
}}
 
}}
  
 
[[Category:Installer_Image_Sanity_Test_Cases]]
 
[[Category:Installer_Image_Sanity_Test_Cases]]

Revision as of 23:29, 3 May 2013

Description

This is to verify that there are no file conflicts between packages without an explicit Conflicts: tag 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 file conflicts between packages without an explicit Conflicts: tag were detected.