public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH v1] Check swap availability in process_madvise01
@ 2023-09-04 12:54 Andrea Cervesato
  2023-09-04 13:13 ` Cyril Hrubis
  2023-10-19  5:42 ` Jan Stancek
  0 siblings, 2 replies; 3+ messages in thread
From: Andrea Cervesato @ 2023-09-04 12:54 UTC (permalink / raw)
  To: ltp

From: Andrea Cervesato <andrea.cervesato@suse.com>

Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
 .../kernel/syscalls/process_madvise/process_madvise01.c      | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/testcases/kernel/syscalls/process_madvise/process_madvise01.c b/testcases/kernel/syscalls/process_madvise/process_madvise01.c
index 207dc028e..322b4cf60 100644
--- a/testcases/kernel/syscalls/process_madvise/process_madvise01.c
+++ b/testcases/kernel/syscalls/process_madvise/process_madvise01.c
@@ -123,4 +123,9 @@ static struct tst_test test = {
 	.min_kver = "5.10",
 	.needs_checkpoints = 1,
 	.needs_root = 1,
+	.min_swap_avail = MEM_CHILD / TST_KB,
+	.needs_kconfigs = (const char *[]) {
+		"CONFIG_SWAP=y",
+		NULL
+	},
 };
-- 
2.35.3


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-19  5:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-04 12:54 [LTP] [PATCH v1] Check swap availability in process_madvise01 Andrea Cervesato
2023-09-04 13:13 ` Cyril Hrubis
2023-10-19  5:42 ` Jan Stancek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox