(Update to match with title.) |
(Some edits after a review by sgallagh.) |
||
Line 8: | Line 8: | ||
By default, all modules are disabled. To enable a module, run the following commands to enable the module: | By default, all modules are disabled. To enable a module, run the following commands to enable the module: | ||
* <code>dnf module enable module:stream</code> enables a particular module stream. | * <code>dnf module enable module:stream</code> enables a particular module stream. | ||
Check, that the enabled module appears in the list of enabled modules and that the stream and profile match your selection. If you have not specified the profile, the default profile should be enabled. | Check, that the enabled module appears in the list of enabled modules and that the stream and profile match your selection. If you have not specified the profile, the default profile should be enabled. | ||
Line 14: | Line 13: | ||
To disable a module, you have to have enabled some of them. If there are enabled modules, try to disable them using the commands: | To disable a module, you have to have enabled some of them. If there are enabled modules, try to disable them using the commands: | ||
* <code>dnf module disable foo:stream </code> disables a particular module stream. | * <code>dnf module disable foo:stream </code> disables a particular module stream. | ||
Check, that the disabled module appears in the list of disabled modules and that the disabled stream and profile of the module matches your selection. | Check, that the disabled module appears in the list of disabled modules and that the disabled stream and profile of the module matches your selection. | ||
|results= | |results= | ||
All above commands execute without errors. | All above commands execute without errors. |
Revision as of 09:13, 13 August 2018
Description
This test checks the modular operations on a Fedora system.
Setup
- 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 and profile match 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 foo:stream
disables a particular module stream.
Check, that the disabled module appears in the list of disabled modules and that the disabled stream and profile of the module matches your selection.
Expected Results
All above commands execute without errors.
- When you enable the module (:stream/profile), a confirmation "module:stream/profile is enabled" appears. The module must be on the list of enabled modules.
- When you disable the module (:stream/profile), a confirmation "module:stream/profile is disabled" appears. The module must not be shown on the list of enabled modules.
Optional
Try various modules and streams/profiles.