[LTP] [PATCH] pty03: Add CONFIG_SERIO_SERPORT as a hint

Richard Palethorpe rpalethorpe@suse.com
Mon Nov 21 14:56:16 CET 2022


It's not clear what module implements the mouse ldisc. So adding this
helps configure test kernels.

Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com>
---
 testcases/kernel/pty/pty03.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/testcases/kernel/pty/pty03.c b/testcases/kernel/pty/pty03.c
index 53df6d62c..6324bc876 100644
--- a/testcases/kernel/pty/pty03.c
+++ b/testcases/kernel/pty/pty03.c
@@ -153,6 +153,10 @@ static struct tst_test test = {
 	.cleanup = cleanup,
 	.needs_root = 1,
 	.max_runtime = 30,
+	.needs_kconfigs = (const char *const[]){
+		"CONFIG_SERIO_SERPORT",
+		NULL
+	},
 	.tags = (const struct tst_tag[]) {
 		{"linux-git", "0ace17d568241"},
 		{"CVE", "2020-14416"},
-- 
2.38.1



More information about the ltp mailing list