Message ID | 20231107184113.2627463-1-edliaw@google.com |
---|---|
State | Accepted |
Headers | show |
Series | [v2] madvise11: Allow test to skip if MADV_SOFT_OFFLINE is not supported | expand |
Hi! Applied, thanks.
diff --git a/testcases/kernel/syscalls/madvise/madvise11.c b/testcases/kernel/syscalls/madvise/madvise11.c index 74caadc44..7a12abf20 100644 --- a/testcases/kernel/syscalls/madvise/madvise11.c +++ b/testcases/kernel/syscalls/madvise/madvise11.c @@ -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,
madvise11 will exit with TFAIL if CONFIG_MEMORY_FAILURE is not configured. Require it to be set instead. Suggested-by: Cyril Hrubis <chrubis@suse.cz> Signed-off-by: Edward Liaw <edliaw@google.com> --- testcases/kernel/syscalls/madvise/madvise11.c | 4 ++++ 1 file changed, 4 insertions(+)