From Fedora Project Wiki
(Created page with "{{QA/Test_Case |description= Listing all enabled and disabled modules in Fedora 27 Modular Server |setup= # Download and install Fedora 27 DVD image from XX # Login as root |...")
 
No edit summary
Line 17: Line 17:
The commands execute without error  
The commands execute without error  
# The first command prints all the modules with their stream , version and profile details.
# The first command prints all the modules with their stream , version and profile details.
{{#tag:pre|
dnf module list --all                                                                                                                                                                                                           
Last metadata expiration check: 2:18:16 ago on Fri 10 Nov 2017 03:35:01 AM IST.                                                                                                                                                                     
Fedora Modular Server 27 - x86_64                                                                                                                                                                                                                   
Name                                                        Stream                                                  Version                                                  Profiles                                                             
389-ds                                                      1.3 [d]                                                20171102233352                                          default                                                               
X11-base                                                    f27 [d][e]                                              20171103131108                                          default                                                               
                                                                                                                                                                                                                                                                                                                                                                              Hint: [d]efault, [e]nabled, [i]nstalled, [l]ocked
}}
# The second command prints all the modules which are enabled in the the system
# The second command prints all the modules which are enabled in the the system
# The third command prints all the modules which are presently disabled
# The third command prints all the modules which are presently disabled
|optional=Optionally provide hints for exploratory testing.
|optional=Optionally provide hints for exploratory testing.
}}
}}

Revision as of 00:26, 10 November 2017

Description

Listing all enabled and disabled modules in Fedora 27 Modular Server

Setup

  1. Download and install Fedora 27 DVD image from XX
  2. Login as root

How to test

Listing All Modules:

  1. Execute dnf module list --all

Listing All enbaled Modules:

  1. Execute dnf module list --enabled

Listing All disabled Modules:

  1. Execute dnf module list --disabled

Expected Results

The commands execute without error

  1. The first command prints all the modules with their stream , version and profile details.
dnf module list --all                                                                                                                                                                                                            
Last metadata expiration check: 2:18:16 ago on Fri 10 Nov 2017 03:35:01 AM IST.                                                                                                                                                                      
Fedora Modular Server 27 - x86_64                                                                                                                                                                                                                    
Name                                                         Stream                                                  Version                                                  Profiles                                                               
389-ds                                                       1.3 [d]                                                 20171102233352                                           default                                                                
X11-base                                                     f27 [d][e]                                              20171103131108                                           default                                                                
                                                                                                                                                                                                                                                                                                                                                                              Hint: [d]efault, [e]nabled, [i]nstalled, [l]ocked
  1. The second command prints all the modules which are enabled in the the system
  2. The third command prints all the modules which are presently disabled

Optional

Optionally provide hints for exploratory testing.