From Fedora Project Wiki

Revision as of 14:41, 1 August 2016 by Vmojzis (talk | contribs)

Description

This test case tests semanage basic functionalities (context addition/removal, listing).

Setup

Ensure that policycoreutils package is installed.

How to test

  1. Create test file: touch /tmp/test
  2. Check test file context: ls -Z /tmp/test

Expected Results

  1. All commands are executed successfully
  2. Context of the test file matches prescribed values