diff mbox series

pty03: Add CONFIG_SERIO_SERPORT as a hint

Message ID 20221121135616.19369-1-rpalethorpe@suse.com
State Accepted
Headers show
Series pty03: Add CONFIG_SERIO_SERPORT as a hint | expand

Commit Message

Richard Palethorpe Nov. 21, 2022, 1:56 p.m. UTC
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(+)

Comments

Richard Palethorpe Nov. 28, 2022, 3:20 p.m. UTC | #1
Trivial patch and no remarks, so merged.

Richard Palethorpe via ltp <ltp@lists.linux.it> writes:

> 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
diff mbox series

Patch

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"},