From Fedora Project Wiki

(Initial template)
 
(Corrected link to comps.rng)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Description =
{{QA/Test_Case
A brief description of the functionality being tested.
|description=This verifies that comps.xml <ref>Additional information regarding the use of <code>comps.xml</code> information available at [[How to use and edit comps.xml for package groups]].</ref> is usable by the installer and other system tools. 
 
|actions=
= How to test =
# Locate comps.xml in the <code>repodata/</code> directory
 
#* The name of the comps file(s) will be listed in repomd.xml
 
#** <code>data type="group"</code> references the uncompressed comps file
# Start here ...
#** <code>data type="group_gz"</code> refers to the the compressed version
# Next do this ...
# Fetch the comps grammar (<code>comps.rng</code>) from git
# Finally click that
#* http://git.fedorahosted.org/git/?p=comps.git;a=blob_plain;f=comps.rng;hb=HEAD
 
# Run <code>xmllint --noout --nowarning --relaxng comps.rng comps.xml</code> to verify that comps is well-formed and matches the defined grammar
= Expected Results =
|results=
 
# At least one version of the comps file is listed in repomd.xml
 
# <code>xmllint</code> verifies that the comps file is well-formed and matches the defined grammar
# Step #1 completes without error
}}
# The system boots into runlevel 5
<references/>
# Program completes wth exit code 0
[[Category:Rawhide Acceptance Test Cases]]

Latest revision as of 03:03, 18 December 2010

Description

This verifies that comps.xml [1] is usable by the installer and other system tools.


How to test

  1. Locate comps.xml in the repodata/ directory
    • The name of the comps file(s) will be listed in repomd.xml
      • data type="group" references the uncompressed comps file
      • data type="group_gz" refers to the the compressed version
  2. Fetch the comps grammar (comps.rng) from git
  3. Run xmllint --noout --nowarning --relaxng comps.rng comps.xml to verify that comps is well-formed and matches the defined grammar

Expected Results

  1. At least one version of the comps file is listed in repomd.xml
  2. xmllint verifies that the comps file is well-formed and matches the defined grammar



  1. Additional information regarding the use of comps.xml information available at How to use and edit comps.xml for package groups.