From Fedora Project Wiki

(create a simple 'is selinux on' base validation test case)
 
(sudo is not required for getenforce)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Template:Associated_release_criterion|Alpha|selinux-configuration}}
{{QA/Test_Case
{{QA/Test_Case
|description=This test case checks that SELinux is enabled and enforcing after a Fedora installation.
|description=This test case checks that SELinux is enabled and enforcing after a Fedora installation.
|actions=
|actions=
# Install the Fedora release you wish to test, in graphical or text mode, making as few choices as possible and making the most simple and obvious choices where a choice is required.
# Install the Fedora release you wish to test, in graphical or text mode, making as few choices as possible and making the most simple and obvious choices where a choice is required.
# Boot the installed system, and check the status of SELinux: {{command|sudo getenforce}}
# Boot the installed system, and check the status of SELinux: {{command|getenforce}}
|results=
|results=
# The result of the command should be "Enforcing", indicating that SELinux is enabled in enforcing mode.
# The result of the command should be "Enforcing", indicating that SELinux is enabled in enforcing mode.
}}
}}
[[Category:Base_Acceptance_Test_Cases]]
[[Category:Base_Acceptance_Test_Cases]]

Latest revision as of 15:11, 21 September 2018

Note.png
Associated release criterion
This test case is associated with the Basic_Release_Criteria#selinux-configuration release criterion. If you are doing release validation testing, a failure of this test case may be a breach of that release criterion. If so, please file a bug and nominate it as blocking the appropriate milestone, using the blocker bug nomination page.


Description

This test case checks that SELinux is enabled and enforcing after a Fedora installation.


How to test

  1. Install the Fedora release you wish to test, in graphical or text mode, making as few choices as possible and making the most simple and obvious choices where a choice is required.
  2. Boot the installed system, and check the status of SELinux: getenforce

Expected Results

  1. The result of the command should be "Enforcing", indicating that SELinux is enabled in enforcing mode.