From Fedora Project Wiki

< User:Lruzicka

Revision as of 14:48, 8 March 2019 by Sumantrom (talk | contribs) (minor edits)

Description

This test case validates that one module stream can be replaced with another.

Setup

To test this feature:

  1. Install a clean Fedora 30 or newer.
  2. Pick one or several modules from the list of available modules with at least two available streams and install one of the streams. You can use the Install module test case as a prerequisite.

How to test

  1. Open a terminal session, either use gnome-terminal or a virtual console.
  2. List installed modules using dnf module list --installed and choose one of them to do the next step.
  3. Remove the module using dnf module remove <module>.
  4. Reset the module using dnf module reset <module>.
  5. Install the modules with a different stream using dnf module install <module>:<new_stream>.
  6. List the enabled modules dnf module list --enabled.
  7. List the installed modules dnf module list --installed.
  8. Check that correct packages are installed on the system using rpm -qa <module>.
  9. If the module was an application or a service, try to run it.

Expected Results

The following requirements must be met:

  1. All commands must execute without errors.
  2. The new module stream must be shown in the --installed list.
  3. The new module stream must be shown in the --enabled list.
  4. rpm -qa <module> must show the new version of the package.
  5. If the module was an application or a service, it should attempt to start.