QA:Comps Validity Test Case
From FedoraProject
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 file -
data 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.xmlto 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
-
xmllintverifies that the comps file is well-formed and matches the defined grammar
- ↑ Additional information regarding the use of
comps.xmlinformation available at How to use and edit comps.xml for package groups.