os-autoinst-distri-opensuse
os-autoinst-distri-opensuse copied to clipboard
check_kernel_taint: Implement configurable taint mask
Add LTP_TAINT_EXPECTED
variable which allows setting the expected list of kernel taint flags. Any flag not in the expected list will be treated as a test failure. Flags on the list will be reported in either case but without impact on the final result.
- Related ticket: N/A
- Needles: N/A
- Verification run:
- livepatches, not tainted: https://openqa.suse.de/tests/14764252
- livepatches, tainted: https://openqa.suse.de/tests/14764253
- livepatches, taint whitelisted: https://openqa.suse.de/tests/14764254
- boot_ltp, not tainted: https://openqa.suse.de/tests/14764275
- boot_ltp, tainted: https://openqa.suse.de/tests/14764269
- install_ltp, tainted: https://openqa.suse.de/tests/14764270