QA:Testcase Mediakit Repoclosure

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(split media is gone)
(render the <pre> tag correctly)
Line 6: Line 6:
 
# Check the dependencies of all packages. If you have a physical media, the process is the same. <pre># repoclosure --repofrompath myrepo,/media/ --newest -t -r myrepo </pre>
 
# Check the dependencies of all packages. If you have a physical media, the process is the same. <pre># repoclosure --repofrompath myrepo,/media/ --newest -t -r myrepo </pre>
 
|results=
 
|results=
# Checking dependencies finished successfully
+
<ol>
# There are no packages with unresolved dependencies from myrepo in the output.  See below for sample output
+
<li> Checking dependencies finished successfully</li>
#: <pre>
+
<li> There are no packages with unresolved dependencies from myrepo in the output.  See below for sample output
#: Added myrepo repo from /media
+
<pre>
#: Reading in repository metadata - please wait....
+
Added myrepo repo from /media
#: Checking Dependencies
+
Reading in repository metadata - please wait....
#: Repos looked at: 1
+
Checking Dependencies
#:    myrepo
+
Repos looked at: 1
#: Num Packages in Repos: 2766</pre>
+
    myrepo
 +
Num Packages in Repos: 2766</pre>
 +
</li>
 +
<ol>
 
}}
 
}}
  
 
[[Category:Installer_Image_Sanity_Test_Cases]]
 
[[Category:Installer_Image_Sanity_Test_Cases]]

Revision as of 09:34, 2 June 2011

Description

This test will read in metadata of a mediakit and check dependencies in all packages for resolution.


How to test

  1. Download DVD image
  2. Mount the ISO, for example:
    # mount -o loop Fedora-14-x86_64-DVD.iso /media/ 
  3. Check the dependencies of all packages. If you have a physical media, the process is the same.
    # repoclosure --repofrompath myrepo,/media/ --newest -t -r myrepo 

Expected Results

  1. Checking dependencies finished successfully
  2. There are no packages with unresolved dependencies from myrepo in the output. See below for sample output
     Added myrepo repo from /media
     Reading in repository metadata - please wait....
     Checking Dependencies
     Repos looked at: 1
        myrepo
     Num Packages in Repos: 2766