[LTP] [PATCH 1/1] tcindex01: Require dummy module

Martin Doucha mdoucha@suse.cz
Fri Oct 27 15:33:37 CEST 2023


Hi,
Acked-by: Martin Doucha <mdoucha@suse.cz>

On 27. 10. 23 13:22, Petr Vorel wrote:
> This fixes TBROK on openSUSE JeOS, which does not install dummy module
> by default.
> 
> Reported-by: Jozef Pupava <jpupava@suse.com>
> Suggested-by: Martin Doucha <mdoucha@suse.cz>
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
>   testcases/cve/tcindex01.c | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/testcases/cve/tcindex01.c b/testcases/cve/tcindex01.c
> index 91bfafb53..001056820 100644
> --- a/testcases/cve/tcindex01.c
> +++ b/testcases/cve/tcindex01.c
> @@ -128,6 +128,10 @@ static struct tst_test test = {
>   		{"/proc/sys/user/max_user_namespaces", "1024", TST_SR_SKIP},
>   		{}
>   	},
> +	.needs_drivers = (const char *const []) {
> +		"dummy",
> +		NULL
> +	},
>   	.tags = (const struct tst_tag[]) {
>   		{"linux-git", "8c710f75256b"},
>   		{"CVE", "2023-1829"},

-- 
Martin Doucha   mdoucha@suse.cz
SW Quality Engineer
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic



More information about the ltp mailing list