From Fedora Project Wiki
Description
This test case will show if modularity is enabled in Fedora and that the system provides basic information about the available modules.
Setup
- Install any of the Fedora spins, for example Workstation or Server.
- Log onto the system.
- Run a terminal application, such as gnome-terminal. The following test will use dnf to work with the modules.
Note: For the time's being, users can work with modules using dnf. In the future, other package managers will be able to deal with it. Until then, do not attempt to test this approach using tools other than dnf.
How to test
- Check that dnf provides you with the list of all modules available to the system:
To do so, executednf module list
. You can also use the--all
option, the results should be the same. - Check that dnf provides you with the list of modules that have been enabled on the system.
Executednf module list --enabled
. - The first command prints all the modules with their stream, version and profile details.
- The second command prints all the modules which are enabled in the system
- The third command prints all the modules which are presently disabled
- The fourth command prints all the modules which are presently installed
Listing All Enbaled Modules:
# Execute dnf module list --enabled
Listing All Disabled Modules:
# Execute dnf module list --disabled
Listing All Installed modules
# Execute dnf module list --installed
Expected Results
The commands execute without error
Optional
Optionally provide hints for exploratory testing.