Skip some tests if the kernel is already tainted
The only way to ensure TestCollectionOverflow
is acting properly is to run it on a kernel with KASAN enabled and without the taint (TAINT_WARN
TAINT_BAD_PAGE
).
We probably need a @skipIfTainted
decorator to skip this particular test when the conditions are not met.
Edit: use TAINT_BAD_PAGE
Edited by Benjamin Tissoires