From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
|description=This test case checks, whether the release repository and install media contain all packages and information required for release (e.g. release notes, fedora-release package, ...). This test doesn't need to be done on machine with new release installed. | |description=This test case checks, whether the release repository and install media contain all packages and information required for release (e.g. release notes, fedora-release package, ...). This test doesn't need to be done on machine with new release installed. | ||
|actions= | |actions= | ||
# | # Install package <code>spin-kickstarts</code> | ||
# Download [http://pschindl.fedorapeople.org/kickstarts_test.py this script] and execute it. It will check, | # Download [http://pschindl.fedorapeople.org/kickstarts_test.py this script] and execute it. It will check, whether kickstarts from the package <code>spin-kickstarts</code> define right repositories. | ||
# Uninstall <code>spin-kickstarts</code> | # Uninstall <code>spin-kickstarts</code> | ||
# Mount DVD.iso. You can do it for example by command {{command|su -c 'mount -o loop Fedora-17-Alpha-x86_64-DVD.iso /media'}} | # Mount DVD.iso. You can do it for example by command {{command|su -c 'mount -o loop Fedora-17-Alpha-x86_64-DVD.iso /media'}} | ||
# Look if DVD.iso contains <code>fedora-release</code> and <code>fedora-release-notes</code> packages. You can do it by command {{command|ls / | # Look if DVD.iso contains <code>fedora-release</code> and <code>fedora-release-notes</code> packages. You can do it by command {{command|ls /<path to the mounted iso>/Packages/fedora-release*}} | ||
# There must be | # There must also be generic packages in release repository. Check this up by running command <code>yum --releasever=$RV search generic-release</code> where $RV is release version you are testing. | ||
|results= | |results= | ||
# Script <code>kickstart_test.py</code> shouldn't write out any error. | # Script <code>kickstart_test.py</code> shouldn't write out any error. |
Revision as of 15:30, 8 February 2012
Description
This test case checks, whether the release repository and install media contain all packages and information required for release (e.g. release notes, fedora-release package, ...). This test doesn't need to be done on machine with new release installed.
How to test
- Install package
spin-kickstarts
- Download this script and execute it. It will check, whether kickstarts from the package
spin-kickstarts
define right repositories. - Uninstall
spin-kickstarts
- Mount DVD.iso. You can do it for example by command
su -c 'mount -o loop Fedora-17-Alpha-x86_64-DVD.iso /media'
- Look if DVD.iso contains
fedora-release
andfedora-release-notes
packages. You can do it by commandls /<path to the mounted iso>/Packages/fedora-release*
- There must also be generic packages in release repository. Check this up by running command
yum --releasever=$RV search generic-release
where $RV is release version you are testing.
Expected Results
- Script
kickstart_test.py
shouldn't write out any error. - There should be all packages with release informations and release notes in repository and on the install medium.