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| | # 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
Description
This test case checks that SELinux is enabled and enforcing after a Fedora installation.
How to test
- 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:
getenforce
Expected Results
- The result of the command should be "Enforcing", indicating that SELinux is enabled in enforcing mode.