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-kickstartspackage is available in the Fedora repository
dnf search spin-kickstarts
- Install the package
dnf install spin-kickstarts
- Check that
fedora-repo-rawhide.ksare present in the system.
find /usr/share -iname "fedora-repo*ks"
- List links to repositories from the
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
- Check that the
fedora-repo.ksfile includes links to both
fedora-repo-rawhide.ksfiles, 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
This test is considered successful, when the following criteria are fulfilled.
spin-kickstartspackage exists in the repository.
spin-kickstartspackage 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
- All files have correct content (see above)