From Fedora Project Wiki

Revision as of 11:12, 1 March 2019 by Lruzicka (talk | contribs) (Add subprocedure)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This test checks the modular operations on a Fedora system.


  1. To start and learn how to list modules, follow the instructions in this test case here

How to test

Enabling Modules on the system

By default, all modules are disabled. To enable a module, run the following commands to enable the module:

  • dnf module enable module:stream enables a particular module stream.

Check, that the enabled module appears in the list of enabled modules and that the stream matches your selection. If you have not specified the profile, the default profile should be enabled.

Disabling Modules

To disable a module, you have to have enabled some of them. If there are enabled modules, try to disable them using the commands:

  • dnf module disable module:stream disables a particular module stream.

Check, that the disabled module appears in the list of disabled modules, that it disappears from the list of enabled modules, and that the disabled stream and profile of the module matches your selection.

Resetting Modules

To reset a module, use the following command:

  • dnf module reset <module> resets the module into the basic state.

Check that the reset module does not appear in either installed, enabled or disabled modules.

Expected Results

All above commands execute without errors.

  1. When you enable the module (:stream), a confirmation "module:stream is enabled" appears. The module must be on the list of enabled modules.
  2. When you disable the module (:stream), a confirmation "module:stream is disabled" appears. The module must not be shown on the list of enabled modules.
  3. When you reset the module, the module must not appear in any lists, except the dnf module list.


Try various modules and streams/profiles.