* [LTP] [PATCH v2] madvise11: Allow test to skip if MADV_SOFT_OFFLINE is not supported
@ 2023-11-07 18:41 Edward Liaw via ltp
2023-11-13 10:27 ` Cyril Hrubis
0 siblings, 1 reply; 2+ messages in thread
From: Edward Liaw via ltp @ 2023-11-07 18:41 UTC (permalink / raw)
To: ltp; +Cc: kernel-team
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(+)
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,
--
2.42.0.869.gea05f2083d-goog
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [LTP] [PATCH v2] madvise11: Allow test to skip if MADV_SOFT_OFFLINE is not supported
2023-11-07 18:41 [LTP] [PATCH v2] madvise11: Allow test to skip if MADV_SOFT_OFFLINE is not supported Edward Liaw via ltp
@ 2023-11-13 10:27 ` Cyril Hrubis
0 siblings, 0 replies; 2+ messages in thread
From: Cyril Hrubis @ 2023-11-13 10:27 UTC (permalink / raw)
To: Edward Liaw; +Cc: kernel-team, ltp
Hi!
Applied, thanks.
--
Cyril Hrubis
chrubis@suse.cz
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-13 10:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-07 18:41 [LTP] [PATCH v2] madvise11: Allow test to skip if MADV_SOFT_OFFLINE is not supported Edward Liaw via ltp
2023-11-13 10:27 ` Cyril Hrubis
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.