From Fedora Project Wiki

(Initial template)
 
(First version)
Line 1: Line 1:
= Description =
= Description =
A brief description of the functionality being tested.
 
This verifies that comps.xml is usable by the installer and other system tools.
 


= How to test =
= 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
#** <code>data type="group_gz"</code> refers to the the compressed version
# Fetch the comps grammar (<code>comps.rng</code>) from CVS
#* [http://cvs.fedoraproject.org/viewcvs/*checkout*/comps/comps.rng http://cvs.fedoraproject.org/viewcvs/*checkout*/comps/comps.rng]
# Run <code>xmllint --noout --nowarning --relaxng comps.rng comps.xml</code> to verify that comps is well-formed and matches the defined grammar


# Start here ...
# Next do this ...
# Finally click that


= Expected Results =
= Expected 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
= More info =


# Step #1 completes without error
[[How to use and edit comps.xml for package groups]]
# The system boots into runlevel 5
# Program completes wth exit code 0

Revision as of 19:54, 23 June 2009

Description

This verifies that comps.xml 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 CVS
  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


More info

How to use and edit comps.xml for package groups