Commit graph

5 commits

Author SHA1 Message Date
Vit Mojzis
caa904c01f Fix "adjust" statements
Whenever a key is defined in the tmt hierarchy and some child also
defines that key, the child's will overwrite the previous one. The "+"
changes the operation to "append", so the content of key+ in the child
is added to the existing key.

Meaning that any "adjust" statement in a test plan using a test that
defines it's own "adjust:" is ignored.

Since we are expecting other statements to be appended to the "adjust"
sections, the content of each section needs to be a single list item as
opposed to a set of key-value pairs (first line needs to start with a
hyphen).

- Replace all "adjust:" sections with "adjust+:" in order to honor any
  adjustments further up the tree (parent tests, or test plans).
- Fix malformed "adjust" sections (sets of key-value pairs)

Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
2025-10-09 20:22:22 +02:00
Milos Malik
1eb61b3a69 exclude unsuitable tests from image mode testing
Tests which are not suitable (various reasons) for image mode
testing will get the avoidImageMode tag. If their conditions improve,
the tag can be removed.
2025-09-26 14:45:52 +02:00
jan janasek
7e37b29514 fix .fmf metadata
all tests with CI-Tier-1 tag should have "tier: 1" in their metadata,
also removing tags Tier1 and Tier1se and lastly tests with "tier: 2"
and "tier: 3" should not have CI-Tier-1 tag.

Signed-off-by: Jan Janasek <jjanasek@redhat.com>
2025-08-26 13:03:09 +00:00
Milos Malik
e0866a22fe fix the failing tests
Not all packages required by the tests were installed. The issue
should be fixed now.

Relevancy of certain tests was set incorrectly. The issue should
be fixed now.

At least 1 test runs longer than its specified duration. The issue
should be fixed now.
2023-01-23 12:47:27 +00:00
Amith Kumar
8f54ba515e harden tools to block rogue python modules
Add test to policycoreutils/Regression suite which verifies bug 2128976
and ensures that irrelevant python scripts are not given precedence over
tools like semanage.

Signed-off-by: Amith Kumar <apeetham@redhat.com>
2022-11-01 18:39:40 +00:00