From Fedora Project Wiki
Description
This test case tests semanage basic functionalities (context addition/removal, listing).
Setup
Ensure that policycoreutils
package is installed.
How to test
- Create test file:
touch /tmp/test
- Check test file context:
ls -Z /tmp/test
Expected Results
- All commands are executed successfully
- Context of the test file matches prescribed values