From Fedora Project Wiki

Revision as of 16:25, 13 March 2023 by Sumantrom (talk | contribs) (Created page with "{{QA/Test_Case |description=This test case verifies the functionality of the "dnf check-update" command. |setup=Install the latest version of Fedora on a bare metal system using the default Anaconda settings except to reclaim all disk space in the process. |actions= * Open a terminal window * Type "dnf check-update" and press Enter. * Observe the output. |results= The following must be true to consider this a successful test run: * The command executes without error. *...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This test case verifies the functionality of the "dnf check-update" command.

Setup

Install the latest version of Fedora on a bare metal system using the default Anaconda settings except to reclaim all disk space in the process.

How to test

  • Open a terminal window
  • Type "dnf check-update" and press Enter.
  • Observe the output.

Expected Results

The following must be true to consider this a successful test run:

  • The command executes without error.
  • The output includes a list of available package updates, if any, sorted by package name.
  • Each package listed should include the package name, the current version, the available version, the repository from which it is available, and a brief description of the update.
  • If there are no available package updates, the output should indicate that no updates are available.
  • The output is readable and formatted correctly.

Optional

Optionally, perform exploratory testing by running the command with different options, such as "--security" and "--bugfix", to verify their functionality. Additionally, test the command with different scenarios, such as when the system is fully up to date or when there are only a few updates available, to verify that the results are accurate.