Messages in this thread | | | Subject | Re: [PATCH] kfence: test: fail fast if disabled at boot | From | Kefeng Wang <> | Date | Thu, 26 Aug 2021 12:21:27 +0800 |
| |
On 2021/8/25 18:55, Marco Elver wrote: > Fail kfence_test fast if KFENCE was disabled at boot, instead of each > test case trying several seconds to allocate from KFENCE and failing. > KUnit will fail all test cases if kunit_suite::init returns an error. > > Even if KFENCE was disabled, we still want the test to fail, so that CI > systems that parse KUnit output will alert on KFENCE being disabled > (accidentally or otherwise). > > Reported-by: Kefeng Wang <wangkefeng.wang@huawei.com> > Signed-off-by: Marco Elver <elver@google.com>
Finally find this, it's better, and tested, thanks
| |