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>
This commit is contained in:
Vit Mojzis 2021-09-14 17:50:12 +02:00
parent c1190761ae
commit 7ea190fa1e
3 changed files with 11 additions and 0 deletions

View File

@ -33,6 +33,7 @@ PACKAGE="udica"
rlJournalStart
rlPhaseStartSetup
rlAssertRpm "udica"
rlAssertRpm "container-selinux"
rlAssertRpm "policycoreutils"
rlAssertRpm "podman"
rlAssertRpm "docker"

View File

@ -35,6 +35,7 @@ CONTAINERS="fedora:latest fedora:rawhide ubi8 ubi7 centos:8 centos:7"
rlJournalStart
rlPhaseStartSetup
rlAssertRpm "udica"
rlAssertRpm "container-selinux"
rlAssertRpm "policycoreutils"
rlAssertRpm "podman"
OUTPUT_FILE=$(mktemp)

View File

@ -8,6 +8,8 @@
- role: standard-test-basic
required_packages:
- python3
- container-selinux
- git
tests:
- smoke:
dir: ./source
@ -16,6 +18,11 @@
dir: ./source
run: python3 tests/test_integration.py
- hosts: localhost
tags:
- classic
- container
roles:
- role: standard-test-beakerlib
tags:
- classic
@ -23,3 +30,5 @@
- sanity
required_packages:
- podman
- udica
- container-selinux