QA:Testcase Mediakit Repoclosure

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Expected Results)
(update for Fedora 18)
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
= Description =
+
{{QA/Test_Case
This test will read in metadata of a mediakit and check dependencies in all packages for resolution.
+
|description=This is to verify that there are no broken dependencies between packages located on the {{filename|DVD.iso}} image.
 +
|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/}}
 +
#* Alternatively, if you have a physical media, insert it into the computer and make sure it is mounted.
 +
# Check the dependencies of all packages using a <code>repoclosure</code> command: <pre>$ repoclosure --repofrompath myrepo,/media/ --newest -t -r myrepo </pre>
 +
|results=
 +
<ol>
 +
<li><code>repoclosure</code> command finished successfully.</li>
 +
<li>There are no packages with unresolved dependencies. Example:
 +
<pre>
 +
Added myrepo repo from /media
 +
Reading in repository metadata - please wait....
 +
Checking Dependencies
 +
Repos looked at: 1
 +
    myrepo
 +
Num Packages in Repos: 2766</pre></li>
 +
</ol>
 +
}}
  
= Steps To Reproduce =
+
[[Category:Installer_Image_Sanity_Test_Cases]]
# Download DVD or CD images
+
# Mount the ISO, for example: <pre>#mount -o loop Fedora-12-x86_64-DVD.iso /media/ </pre>
+
# Check the dependencies of all packages, if you have a physical media, the process is the same:<pre>#repoclosure --repofrompath myrepo,/media/ </pre>
+
 
+
= Expected Results =
+
# Checking dependencies finished successfully
+
# There are no packages with unresolved dependencies of myrepo from the output
+

Revision as of 09:58, 29 October 2012

Description

This is to verify that there are no broken dependencies 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-21-x86_64-DVD.iso /media/
    • Alternatively, if you have a physical media, insert it into the computer and make sure it is mounted.
  2. Check the dependencies of all packages using a repoclosure command:
    $ repoclosure --repofrompath myrepo,/media/ --newest -t -r myrepo 

Expected Results

  1. repoclosure command finished successfully.
  2. There are no packages with unresolved dependencies. Example:
     Added myrepo repo from /media
     Reading in repository metadata - please wait....
     Checking Dependencies
     Repos looked at: 1
        myrepo
     Num Packages in Repos: 2766