From Fedora Project Wiki

m (Add category)
(fixed <pre> tags)
Line 10: Line 10:
# Log in to upgraded system, run some system applications.
# Log in to upgraded system, run some system applications.
|results=
|results=
# With no additional command-line options, {{command|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 running {{command|preupgrade-cli}} on Fedora 13 while Fedora 14 is in development, you should see the following:
<ol>
#: <pre>
<li> With no additional command-line options, {{command|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 running {{command|preupgrade-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
<pre>
#: valid entries include:
please give a release to try to pre-upgrade to
#:    "Fedora 14 (Laughlin)"</pre>
valid entries include:
# When supplied a valid release name, the preupgrade utility will run to completion, without error.
    "Fedora 14 (Laughlin)"</pre>
# The specified command-line option(s) should be functional.  
</li>
# The upgrade should complete and reboot without user assistance.   
<li> When supplied a valid release name, the preupgrade utility will run to completion, without error.</li>
# The system should be upgraded to new version without error.
<li> The specified command-line option(s) should be functional. </li>
# The executed applications should display and work correctly.
<li> The upgrade should complete and reboot without user assistance.  </li>
<li> The system should be upgraded to new version without error.</li>
<li> The executed applications should display and work correctly.</li>
</ol>
}}
}}
[[Category:Upgrade_system]]
[[Category:Upgrade_system]]
[[Category:Package_preupgrade_test_cases]]
[[Category:Package_preupgrade_test_cases]]

Revision as of 17:52, 1 June 2011

Description

This case tests upgrading a Fedora system from the stable release (e.g. Fedora 37) to the branched release (Fedora 38) using PreUpgrade-cli.


How to test

  1. Perform an installation of the stable release (e.g. Fedora 37) with default partitioning (no less than 500MB for /boot).
  2. Install the newest available version of Package-x-generic-16.pngpreupgrade and Package-x-generic-16.pngpython-urlgrabber.
  3. From a command prompt, run preupgrade-cli with no additional command-line options.
  4. 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
  5. When the process completes, reboot the system.
  6. The system should perform the upgrade, and reboot into the new system automatically.
  7. Log in to upgraded system, run some system applications.

Expected Results

  1. 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 running preupgrade-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)"
  2. When supplied a valid release name, the preupgrade utility will run to completion, without error.
  3. The specified command-line option(s) should be functional.
  4. The upgrade should complete and reboot without user assistance.
  5. The system should be upgraded to new version without error.
  6. The executed applications should display and work correctly.