From Fedora Project Wiki

(Add --newest option -- see http://lists.fedoraproject.org/pipermail/test/2010-February/088754.html)
(Add sample output to expected results)
Line 3: Line 3:
|actions=
|actions=
# Download DVD or CD images
# Download DVD or CD images
# Mount the ISO, for example: <pre># mount -o loop Fedora-12-x86_64-DVD.iso /media/ </pre>
# Mount the ISO, for example: <pre># mount -o loop Fedora-14-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/ --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
# Checking dependencies finished successfully
# There are no packages with unresolved dependencies from myrepo in the output
# There are no packages with unresolved dependencies from myrepo in the output.  See below for sample output
#: <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>
}}
}}


[[Category:Installer_Image_Sanity_Test_Cases]]
[[Category:Installer_Image_Sanity_Test_Cases]]

Revision as of 14:35, 9 August 2010

Description

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


How to test

  1. Download DVD or CD images
  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