Commit graph

7 commits

Author SHA1 Message Date
Milos Malik
28a763c2e0 mark tests which are failing on RHEL-10
Tests which require the EPEL repository are tagged with rhel10-epel.
Tests which fail for other reasons are tagged with rhel10_broken.
2024-09-12 15:53:29 +02:00
Milos Malik
1d726848e6 skip irrelevant phases and install required packages
If required packages are not installed, the tests will try to install
them (only 1 attempt per test will be done).

Certain test phases may not be relevant if:
 * required SELinux types/attributes are not defined
 * required programs/files are not installed
 * required packages are not available
2024-07-26 18:12:20 +02:00
Milos Malik
29b9cb2a5c add a basic apol test
Main purpose of the automated test is to find out if the apol tool
can read and analyze the SELinux policies currently installed on
the system.

Because the apol tool is a graphical one, a working X session is
needed to conduct the testing procedure.
2024-05-09 15:17:40 +00:00
Milos Malik
0791bbe53a remove unnecessary requires
The setools/seinfo test does not really need the SELinux beaker
library to work correctly. The lines which require this library
were removed.
2024-04-19 19:19:19 +02:00
Milos Malik
7f4c2828eb add important downstream tests to upstream repo
To improve the quality of upstream testing, some important
downstream tests are moved to the upstream repository.
2024-04-19 17:26:05 +02:00
Milos Malik
3b016979c5 enable more repos for rebuild purposes
If the rebuild (src -> bin) of setools component should be successful,
additional repositories (rhel-CRB, beaker-CRB) need to be enabled.
2023-12-12 16:47:29 +01:00
Milos Malik
ef0547613f test if setools can be built with userspace packages
A recent rebuild testing in COPR revealed that the setools package
cannot be built with the latest SELinux userspace (version 3.6).
The TC reproduces the situation.

In order to have a well-functioning set of tools for SELinux policy
analysis which works together with the new version of SELinux
userspace, I believe that the problem needs to be fixed.

The TC covers BZ#2251915 and RHEL-18067.
2023-12-05 13:21:49 +01:00