From Fedora Project Wiki
(Finish testing procedure) |
(Updated to use a template.) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Template:Associated_release_criterion|Final|Kickstarts}} | |||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=The package with various Fedora Kickstart files must be present in Fedora repository. This test proves that the package exists and has required content. | |description=The package with various Fedora Kickstart files must be present in Fedora repository. This test proves that the package exists and has required content. |
Latest revision as of 10:18, 4 June 2018
Description
The package with various Fedora Kickstart files must be present in Fedora repository. This test proves that the package exists and has required content.
How to test
- Check that the
spin-kickstarts
package is available in the Fedora repositorydnf search spin-kickstarts
- Install the package
dnf install spin-kickstarts
- Check that
fedora-repo.ks
,fedora-repo-not-rawhide.ks
, andfedora-repo-rawhide.ks
are present in the system.find /usr/share -iname "fedora-repo*ks"
- List links to repositories from the
fedora-repo-not-rawhide.ks
file.cat /usr/share/spin-kickstarts | grep mirrorlist
- Check that all required repositories are mentioned, and updates-testing are commented out, such as
repo --name=fedora --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch repo --name=updates --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch #repo --name=updates-testing --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$releasever&arch=$basearch
- Repeat steps 4 and 5 for the
fedora-repo-rawhide.ks
file. - Check that the
fedora-repo.ks
file includes links to bothfedora-repo-not-rawhide.ks
andfedora-repo-rawhide.ks
files, and that the correct file is uncommented according to the tested Fedora release. The following example represents a non-rawhide release of Fedora:# %include fedora-repo-rawhide.ks %include fedora-repo-not-rawhide.ks
Expected Results
This test is considered successful, when the following criteria are fulfilled.
- The
spin-kickstarts
package exists in the repository. - The
spin-kickstarts
package can be installed without any errors or warnings. - The kickstart files are present on the system, after the installation.
- Kickstart files for repositories are present in the
spin-kickstarts
directory. - All files have correct content (see above)