Commit graph

4 commits

Author SHA1 Message Date
Ondrej Mosnacek
596ec7fafe Make all relevancy expressions use comparison operators
Rather than enumerating RHEL versions, use comparison against
"known-good" version to make the expressions easier to read and
understand.

Also convert users of '~<' to '<', as '~<' compares only minor versions
within the same major.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2020-12-15 12:38:32 +01:00
Milos Malik
15f6d6c612 update test relevancy based on packages availability
Relevancy changes are made based on recommendations from:
  tmt test lint --fix

Some packages are available for Fedoras only and are not available
for RHELs at all.
Some packages are available for latest RHEL major versions only.
2020-12-15 11:53:28 +01:00
Petr Lautrbach
46009984e5 Add Makefile to policycoreutils tests
They are important as source of Requirements for tests. The original idea that
requirements should be part of tests.yml currently doesn't scale through
different projects with different tests.yml
2019-12-16 12:55:47 +01:00
Vit Mojzis
56d49125a4 policycoreutils: Add test for restorecond "blob data"
This test creates mislabeled files and runs restorecond repeatedly to test
for an issue caused by overwriting program variable with memory address.
The issue caused restorecond to write status messages (that appeared
as "blob data" because of \r character) to journal.

Since the memory address mentioned above is effectively random data,
this test may result in SUCESS even if the issue being tested is present!
2019-11-27 13:01:04 +01:00