Description
This test case tests that information on modules can be obtained from the system.
Setup
To test this feature, you have to be running any Fedora with version 29 or newer.
How to test
- Open a terminal session, either use gnome-terminal or a virtual console.
- List available modules using
dnf module list
and choose one of them to do the next step. - List module information using
dnf module info <module>
.
Expected Results
The following requirements must be met:
- There is no visible error reported by the dnf commands when using these commands.
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.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.
Optional
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
.