From Fedora Project Wiki
(Start the document.) |
(Updated to use a template.) |
||
(2 intermediate revisions 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. | ||
|actions= | |actions= | ||
<ol> | |||
<li> Check that the <code>spin-kickstarts</code> package is available in the Fedora repository <pre>dnf search spin-kickstarts</pre></li> | |||
# | <li> Install the package <pre>dnf install spin-kickstarts</pre></li> | ||
# | <li> Check that <code>fedora-repo.ks</code>, <code>fedora-repo-not-rawhide.ks</code>, and <code>fedora-repo-rawhide.ks</code> are present in the system. <pre>find /usr/share -iname "fedora-repo*ks"</pre></li> | ||
<li> List links to repositories from the <code>fedora-repo-not-rawhide.ks</code> file. <pre>cat /usr/share/spin-kickstarts | grep mirrorlist</pre></li> | |||
<li> Check that all required repositories are mentioned, and <strong>updates-testing</strong> are commented out, such as <pre>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 | |||
</pre></li> | |||
<li> Repeat steps 4 and 5 for the <code>fedora-repo-rawhide.ks</code> file. </li> | |||
<li>Check that the <code>fedora-repo.ks</code> file includes links to both <code>fedora-repo-not-rawhide.ks</code> and <code>fedora-repo-rawhide.ks</code> files, and that the correct file is uncommented according to the tested Fedora release. The following example represents a non-rawhide release of Fedora: <pre># %include fedora-repo-rawhide.ks | |||
%include fedora-repo-not-rawhide.ks</pre></li> | |||
</ol> | |||
|results= | |results= | ||
This test is considered successful, when the following criteria are fulfilled. | |||
# | # The <code>spin-kickstarts</code> package exists in the repository. | ||
# The system | # The <code>spin-kickstarts</code> 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 <code>spin-kickstarts</code> directory. | |||
# All files have correct content (see above) | |||
}} | }} |
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)