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

Petr Vorel pvorel@suse.cz
Fri Oct 27 13:22:56 CEST 2023


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



More information about the ltp mailing list