From Fedora Project Wiki

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


This test case tests that information on modules can be obtained from the system.


To test this feature, you have to be running any Fedora with version 28 or newer.

How to test

  1. Open a terminal session, either use terminal or a virtual console.
  2. List available modules using dnf module list and choose one of them to do the next step.
  3. List module information using dnf module info <module>.

Expected Results

The following requirements must be met:

  1. There is no visible error reported by the dnf commands when using these commands.
  2. dnf module list displays a list of available modules and provides the name, stream, profile, and short description for all of the listed modules. The list must not be an empty list.
  3. dnf module info <module> returns reasonable information on that particular module. All visible fields provide some information and they are not empty. For every module, the default profile must be defined and that information must be shown in the Default profiles field.


You can also try to list a subset of modules by using various switches to the dnf module list command, such as --enabled, --disabled, --installed, and --all. Those lists must reflect the real situation on your system. For example, if you have never enabled any module, the list of enabled modules must be empty.

Note: By default, the modules are not enabled, but not disabled either. On a clean system, all module lists must be empty, except dnf module list and dnf module list --all.