Skip to content

Commit

Permalink
Add Testing section in README file.
Browse files Browse the repository at this point in the history
  • Loading branch information
wrabcak committed Mar 11, 2019
1 parent 60f6f13 commit 8d8ce5f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,18 @@ Proof that SELinux allows binding only to tcp/udp *21* port.
Ncat: SHA-1 fingerprint: 6EEC 102E 6666 5F96 CC4F E5FA A1BE 4A5E 6C76 B6DC
Ncat: bind to :::80: Permission denied. QUITTING.

## Testing

Udica repository contains units tests for basic functionality of the tool. Udica should be installed on the system (see [Installing](#Installing)).

To run tests follow these commands:

# cd tests
# python3 -m unittest

The tests are intended to be run on Fedora machine as root. Tested on
Fedora 29 and Fedora Rawhide.

## Known issues

* It's not possible to detect capabilities used by container in docker engine, therefore you *have to* use '-c' to specify capabilities for docker container manually.
Expand Down

0 comments on commit 8d8ce5f

Please sign in to comment.