From Fedora Project Wiki

(add test whether updates are offered in live boot)
(re-write slightly to better capture the actual criteria for offering updates)
Line 2: Line 2:
|description=This test case tests whether yum and PackageKit can install package updates.
|description=This test case tests whether yum and PackageKit can install package updates.
|actions=
|actions=
# If testing with a live image, check whether it offers to install updates when booted in live mode
# Clean boot the Fedora you wish to test: this could be a system installed from a particular snapshot, pre-release, or release, or a live image. It should be an image for which updates will be available
# Clean boot the Fedora you wish to test: this could be a system installed from a particular snapshot, pre-release, or release, or a live image. It should be an image for which updates will be available
# Check whether the system checks for updates, notifies you of their availability, and offers to install them. You can do this simply by waiting while observing whether the 'checking for updates' and then 'updates available' icons appear in the notification area. This should happen within half an hour of boot
# Open a console, and run the command {{command|yum update}} as root. If you have any difficulty opening a console in the normal fashion from the desktop you are testing, note this, but continue with the test. Complete the update process
# Open a console, and run the command {{command|yum update}} as root. If you have any difficulty opening a console in the normal fashion from the desktop you are testing, note this, but continue with the test. Complete the update process
# If you are testing a live image, reboot. If you are testing an installed system, either wait for more updates to become available, or re-install
# If you are testing a live image, reboot. If you are testing an installed system, either wait for more updates to become available, or re-install
# Launch the graphical update application (e.g. system menu > System > Administration > Software Update). Run through the update process
# Launch the graphical update application (e.g. system menu > System > Administration > Software Update). Run through the update process
|results=
|results=
# When booted live, updates should not be actively offered to the user
# When booted live, updates should not be actively offered to the user. When booting an installed system, available updates should be offered to the user
# Both CLI and graphical update applications should complete the update process with no errors
# Both CLI and graphical update applications should complete the update process with no errors
# Both should check the appropriate repositories for the release when testing for updates, with no manual configuration required
# Both should check the appropriate repositories for the release when testing for updates, with no manual configuration required

Revision as of 21:28, 29 June 2010

Description

This test case tests whether yum and PackageKit can install package updates.


How to test

  1. Clean boot the Fedora you wish to test: this could be a system installed from a particular snapshot, pre-release, or release, or a live image. It should be an image for which updates will be available
  2. Check whether the system checks for updates, notifies you of their availability, and offers to install them. You can do this simply by waiting while observing whether the 'checking for updates' and then 'updates available' icons appear in the notification area. This should happen within half an hour of boot
  3. Open a console, and run the command yum update as root. If you have any difficulty opening a console in the normal fashion from the desktop you are testing, note this, but continue with the test. Complete the update process
  4. If you are testing a live image, reboot. If you are testing an installed system, either wait for more updates to become available, or re-install
  5. Launch the graphical update application (e.g. system menu > System > Administration > Software Update). Run through the update process

Expected Results

  1. When booted live, updates should not be actively offered to the user. When booting an installed system, available updates should be offered to the user
  2. Both CLI and graphical update applications should complete the update process with no errors
  3. Both should check the appropriate repositories for the release when testing for updates, with no manual configuration required
  4. Both should list the number and details of available updates and await confirmation before proceeding with the actual update process
  5. Both should correctly install all available updates when you confirm that you wish to do so