-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR introduces additional test checks that make sense to run while runing the tests. The checks are by default controlled on the test level, but can be overridden in plans. Signed-off-by: Miroslav Vadkerti <[email protected]>
- Loading branch information
Showing
4 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
summary: Specify additional checks which should be enabled by the test runner. | ||
|
||
story: As a tester I want to enable additional checks when running my tests. | ||
|
||
description: | | ||
In some cases we want to run additional checks while running a test. A nice | ||
example is a check for unexpected SELinux AVCs produced during the test, | ||
this can point to additional issues a user can run into and is very valuable | ||
for Red Hat based and Fedora distros. | ||
|
||
These checks can alter the test result and usually provide a separate log | ||
output. Note that the value set here can be overridden by L2 metadata. | ||
|
||
Currently the following additional checks are recognized: | ||
|
||
avc | ||
SELinux AVCs are inspected during the test time | ||
test-inspector | ||
Run test inspector | ||
|
||
The default value is ``avc``. | ||
|
||
If the check start's with ``-`` character, it should be disabled. | ||
|
||
example: | | ||
checks: -avc test-inspector |