madvise11: Allow test to skip if MADV_SOFT_OFFLINE is not supported
PATCH v2 1/1 madvise11: Allow test to skip if MADV_SOFT_OFFLINE is not supported
madvise11 will exit with TFAIL if CONFIG_MEMORY_FAILURE is not configured. Require it to be set instead.
Suggested-by Cyril Hrubis <[email protected]>
Signed-off-by Edward Liaw <[email protected]>
--- testcases/kernel/syscalls/madvise/madvise11.c | 4 ++++ 1 file changed, 4 insertions(+)
testcases/kernel/syscalls/madvise/madvise11.c +4 -0
@@ -426,6 +426,10 @@ static struct tst_test test = {"rmmod" ,NULL }, + .needs_kconfigs = (const char *[]) { +"CONFIG_MEMORY_FAILURE=y" , +NULL + }, .max_runtime = 30, .needs_checkpoints = 1, .setup = setup,
Signature · 5 lines
2.42.0.869.gea05f2083d-goog -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi!
Applied, thanks.
Signature · 5 lines
Cyril Hrubis [email protected] -- Mailing list info: https://lists.linux.it/listinfo/ltp