From Fedora Project Wiki

Revision as of 09:17, 3 August 2018 by Lruzicka (talk | contribs) (Minor save)

Description

This test case will show if modularity is enabled in Fedora and that the system provides basic information about the available modules.

Setup

  1. Install any of the Fedora spins, for example Workstation or Server.
  2. Log onto the system.
  3. 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

  1. Check that dnf provides you with the list of all modules available to the system:
    To do so, execute dnf module list. You can also use the --all option, the results should be the same.
  2. Check that dnf provides you with the list of modules that have been enabled on the system.
    Execute dnf module list --enabled.
    1. 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

      1. The first command prints all the modules with their stream, version and profile details.
      2. The second command prints all the modules which are enabled in the system
      3. The third command prints all the modules which are presently disabled
      4. The fourth command prints all the modules which are presently installed

      Optional

      Optionally provide hints for exploratory testing.