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= Listing all enabled and disabled modules in Fedora Server
|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=  
# Grab Fedora Server and continue to install on a VM or Baremetal
# Install any of the Fedora spins, for example ''Workstation'' or ''Server''.
# Login from the Cockpit Web-UI or server with the created user or root
# 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=
=== Listing All Modules: ===
<ol>
    # Execute <code> dnf module list --all </code>
<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

  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.