diff --git a/kmod-blacklist-fixtest.patch b/kmod-blacklist-fixtest.patch index 98c5c57..b907420 100644 --- a/kmod-blacklist-fixtest.patch +++ b/kmod-blacklist-fixtest.patch @@ -20,3 +20,25 @@ Index: kmod-19/testsuite/test-blacklist.c +); TESTSUITE_MAIN(); +Index: kmod-19/testsuite/test-dependencies.c +=================================================================== +--- kmod-19.orig/testsuite/test-dependencies.c ++++ kmod-19/testsuite/test-dependencies.c +@@ -76,15 +76,13 @@ static int test_dependencies(const struc + + return EXIT_SUCCESS; + } +-static const struct test stest_dependencies = { +- .name = "test_dependencies", ++DEFINE_TEST(test_dependencies, + .description = "test if kmod_module_get_dependencies works", +- .func = test_dependencies, + .config = { + [TC_ROOTFS] = TESTSUITE_ROOTFS "test-dependencies/", + [TC_UNAME_R] = TEST_UNAME, + }, + .need_spawn = true, +-}; ++) + + TESTSUITE_MAIN();