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

Richard Palethorpe rpalethorpe@suse.de
Mon Nov 28 16:20:56 CET 2022


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


-- 
Thank you,
Richard.


More information about the ltp mailing list