From Fedora Project Wiki
(minor edits)
mNo edit summary
 
Line 2: Line 2:
|description=This test case validates that one module stream can be replaced with another.
|description=This test case validates that one module stream can be replaced with another.
|setup=To test this feature:
|setup=To test this feature:
# Install a '''clean''' Fedora 30 or newer.  
# Install a '''clean''' Fedora.  
# 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.
# 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.
|actions=
|actions=
# Open a terminal session, either use '''gnome-terminal''' or a virtual console.
# Open a terminal session, either use terminal or a virtual console.
# List installed modules using <code>dnf module list --installed</code> and choose one of them to do the next step.  
# List installed modules using <code>dnf module list --installed</code> and choose one of them to do the next step.  
# Remove the module using <code>dnf module remove <module></code>.
# Remove the module using <code>dnf module remove <module></code>.

Latest revision as of 11:27, 11 March 2019

Description

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

Setup

To test this feature:

  1. Install a clean Fedora.
  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 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.