Commit Graph

9 Commits

Author SHA1 Message Date
Vit Mojzis
7ea190fa1e tests: Require container-selinux
Policy templates where moved to container-selinux package and udica
doesn't work properly without them.

Sanity test temporarily needs git for downloading policy templates.
Those will soon be available via container-selinux.

Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
2021-09-30 09:41:20 +02:00
Lukas Vrabec
41b007ecf3 Update 'tests/sanity' to include more containers
Sanity testcase generates SELinux policy just for one container
"fedora:latest". Testcase should test generating SELinux policy also for
Fedora Rawhide container, RHEL universal base image {7,8} and centos containers
2021-08-20 11:48:36 +02:00
Lukas Vrabec
10b8af4057
Fix CI tests on udica
In version v0.2.0 there is new makefile also for testing part, therefore
we changed how to execute tests. This commit fixes the Fedora CI.
2019-10-02 16:59:23 +02:00
Lukas Vrabec
10b87117f0
Fix sanity test suite
Fix sanity test to pass on Fedora Rawhide and Fedora 30. Changes are
related to missing 'nc' command in container for which SELinux policy is
generated.
2019-08-28 13:28:59 +02:00
Lukas Vrabec
0ed8760d59
Update tests suite with downstream test
Following commit adds new donwstream beakerlib sanity test
2019-06-11 11:07:59 +02:00
Lukas Vrabec
5ac5425819 Merge #4 Run tests also with real selinux and semanage modules 2019-05-15 12:44:15 +00:00
Jan Zarsky
05d2672bde Run tests with real selinux and semanage modules
The tests are by default using mock selinux and semanage modules. Rerun
the tests with real modules.
2019-05-07 11:52:54 +02:00
Jan Zarsky
0037a4e5ec Add basic sanity integration tests
Check that udica can create policy for both podman and docker
containers. Check that generated policy can be loaded. Check that
generated policy provides required access.
2019-04-30 09:50:17 +02:00
Lukas Vrabec
94598a163f
Add basic sanity tests 2019-04-25 14:27:33 +02:00