From Fedora Project Wiki
m (Lruzicka moved page User:Sumantrom/Draft/dnf module list to User:Lruzicka/Draft/dnf module list: A change of assignees.) |
m (Minor save) |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description= | |description= This test case will show if modularity is enabled in Fedora and that the system provides basic information about the available modules. | ||
|setup= | |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'''. | |||
|actions= | |actions= | ||
<ol> | |||
<li>Check that '''dnf''' provides you with the list of '''all''' modules available to the system: <br/> | |||
To do so, execute <code> dnf module list</code>. You can also use the <code>--all</code> option, the results should be the same.<br/></li> | |||
<li>Check that '''dnf''' provides you with the list of modules that have been '''enabled''' on the system. <br/> | |||
Execute <code>dnf module list --enabled</code>.</li> | |||
<li></li> | |||
<li></li> | |||
<li></li> | |||
<ol> | |||
=== Listing All Enbaled Modules: === | === Listing All Enbaled Modules: === |
Revision as of 09:17, 3 August 2018
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.