From Fedora Project Wiki
m (Converted to use QA/Test_Case template) |
(Corrected link to comps.rng) |
||
Line 6: | Line 6: | ||
#** <code>data type="group"</code> references the uncompressed comps file | #** <code>data type="group"</code> references the uncompressed comps file | ||
#** <code>data type="group_gz"</code> refers to the the compressed version | #** <code>data type="group_gz"</code> refers to the the compressed version | ||
# Fetch the comps grammar (<code>comps.rng</code>) from | # Fetch the comps grammar (<code>comps.rng</code>) from git | ||
#* | #* 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 | # Run <code>xmllint --noout --nowarning --relaxng comps.rng comps.xml</code> to verify that comps is well-formed and matches the defined grammar | ||
|results= | |results= |
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
- 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 git - 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.