From Fedora Project Wiki
m (add category) |
m (Converted to use QA/Test_Case template) |
||
Line 1: | Line 1: | ||
= | {{QA/Test_Case | ||
|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. | |||
This verifies that comps.xml is usable by the installer and other system tools. | |actions= | ||
= | |||
# Locate comps.xml in the <code>repodata/</code> directory | # Locate comps.xml in the <code>repodata/</code> directory | ||
#* The name of the comps file(s) will be listed in repomd.xml | #* The name of the comps file(s) will be listed in repomd.xml | ||
Line 13: | Line 9: | ||
#* [http://cvs.fedoraproject.org/viewcvs/*checkout*/comps/comps.rng http://cvs.fedoraproject.org/viewcvs/*checkout*/comps/comps.rng] | #* [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 | # Run <code>xmllint --noout --nowarning --relaxng comps.rng comps.xml</code> to verify that comps is well-formed and matches the defined grammar | ||
|results= | |||
= | |||
# At least one version of the comps file is listed in repomd.xml | # 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 | # <code>xmllint</code> verifies that the comps file is well-formed and matches the defined grammar | ||
}} | |||
<references/> | |||
[[Category:Rawhide Acceptance Test Cases]] | [[Category:Rawhide Acceptance Test Cases]] |
Revision as of 12:07, 30 June 2009
Description
This verifies that comps.xml [1] is usable by the installer and other system tools.
How to test
- 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 filedata type="group_gz"
refers to the the compressed version
- The name of the comps file(s) will be listed in repomd.xml
- Fetch the comps grammar (
comps.rng
) from CVS - Run
xmllint --noout --nowarning --relaxng comps.rng comps.xml
to verify that comps is well-formed and matches the defined grammar
Expected Results
- At least one version of the comps file is listed in repomd.xml
xmllint
verifies that the comps file is well-formed and matches the defined grammar
- ↑ Additional information regarding the use of
comps.xml
information available at How to use and edit comps.xml for package groups.