From Fedora Project Wiki
(Minor wording change. Reorganized action/result about running preupgrade-cli with no options) |
(add command-line options step and expected result) |
||
Line 3: | Line 3: | ||
|actions= | |actions= | ||
# Perform an installation of the stable release (e.g. {{FedoraVersion|long}}) with default partitioning (no less than 500MB for {{filename|/boot}}). <!--Ensure there are only '''1''' kernel installed on the system. --> | # Perform an installation of the stable release (e.g. {{FedoraVersion|long}}) with default partitioning (no less than 500MB for {{filename|/boot}}). <!--Ensure there are only '''1''' kernel installed on the system. --> | ||
# Install the newest available version of {{package|preupgrade}} and {{package|python-urlgrabber}} | # Install the newest available version of {{package|preupgrade}} and {{package|python-urlgrabber}}. | ||
# From a command prompt, run {{command|preupgrade-cli}} with no additional command-line options. | # From a command prompt, run {{command|preupgrade-cli}} with no additional command-line options. | ||
# From a command prompt, run {{command|preupgrade-cli}} with a valid release name, for example: <pre>preupgrade-cli "Fedora 14 (Laughlin)"</pre> | # From a command prompt, run {{command|preupgrade-cli}} with a valid release name, for example: <pre>preupgrade-cli "Fedora 14 (Laughlin)"</pre> Optionally, you can customize the process by specifying command-line options, use ''help'' to look up a list of available options: <pre>preupgrade-cli --help</pre> | ||
# When the process completes, reboot the system. | # When the process completes, reboot the system. | ||
# The system should perform the upgrade, and reboot into the new system automatically. | # The system should perform the upgrade, and reboot into the new system automatically. | ||
Line 16: | Line 16: | ||
#: "Fedora 14 (Laughlin)"</pre> | #: "Fedora 14 (Laughlin)"</pre> | ||
# When supplied a valid release name, the preupgrade utility will run to completion, without error. | # When supplied a valid release name, the preupgrade utility will run to completion, without error. | ||
# The specified command-line option(s) should be functional. | |||
# The upgrade should complete and reboot without user assistance. | # The upgrade should complete and reboot without user assistance. | ||
# The system should be upgraded to new version without error. | # The system should be upgraded to new version without error. |
Revision as of 06:28, 1 September 2010
Description
This case tests upgrading a Fedora system from the stable release (e.g. Fedora 41) to the branched release (Fedora 42) using PreUpgrade-cli
.
How to test
- Perform an installation of the stable release (e.g. Fedora 41) with default partitioning (no less than 500MB for
/boot
). - Install the newest available version of
andpreupgrade
.python-urlgrabber
- From a command prompt, run
preupgrade-cli
with no additional command-line options. - From a command prompt, run
preupgrade-cli
with a valid release name, for example:preupgrade-cli "Fedora 14 (Laughlin)"
Optionally, you can customize the process by specifying command-line options, use help to look up a list of available options:preupgrade-cli --help
- When the process completes, reboot the system.
- The system should perform the upgrade, and reboot into the new system automatically.
- Log in to upgraded system, run some system applications.
Expected Results
- With no additional command-line options,
preupgrade-cli
will fail and prompt the user with a list of supported Fedora releases available for upgrade. The list of supported releases must include only newer releases. For example, if runningpreupgrade-cli
on Fedora 13 while Fedora 14 is in development, you should see the following:- please give a release to try to pre-upgrade to
- valid entries include:
- "Fedora 14 (Laughlin)"
- When supplied a valid release name, the preupgrade utility will run to completion, without error.
- The specified command-line option(s) should be functional.
- The upgrade should complete and reboot without user assistance.
- The system should be upgraded to new version without error.
- The executed applications should display and work correctly.