containers / udica

This repository contains a tool for generating SELinux security profiles for containers
GNU General Public License v3.0
479 stars 47 forks source link

Create basic tests #13

Closed janzarsky closed 5 years ago

janzarsky commented 5 years ago

Add testing JSON files generated by podman and docker. Add expected output cil policies. Add tests that run udica on testing JSON files and compare the result with cil policies.

The tests should be run inside the 'tests' directory using unittest:

# python3 -m unittest

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

wrabcak commented 5 years ago

Amazing! Thanks!

LGTM.