Commit Graph

3 Commits

Author SHA1 Message Date
Petr Lautrbach
ae0a5e8355 tests: Drop selinux_restorecon
selinux_restorecon utility was dropped in upstream release 2.7
2017-11-01 08:27:06 +01:00
Dalibor Pospisil
2c7ab04eb8 tests/selabel-functions: fixed condition for older Fedora and older rhel, newer versions convered by the else branch 2017-11-01 08:23:10 +01:00
Rachel Sibley
aba7ab1e5f Initial commit for downstream tests to be run using the standard test interface
The following steps are used to execute the tests using the standard test interface:

Docker

    sudo ANSIBLE_INVENTORY=$(test -e inventory && echo inventory || echo /usr/share/ansible/inventory) TEST_SUBJECTS=docker:docker.io/library/fedora:26 TEST_ARTIFACTS=$PWD/artifacts ansible-playbook --tags container tests.yml

Classic

    sudo ANSIBLE_INVENTORY=$(test -e inventory && echo inventory || echo /usr/share/ansible/inventory) TEST_SUBJECTS="" TEST_ARTIFACTS=$PWD/artifacts ansible-playbook --tags classic tests.yml

https://src.fedoraproject.org/rpms/libselinux/pull-request/1
2017-10-31 21:18:48 +01:00