This commit is contained in:
parent
07f12cb6c1
commit
6b78f92048
@ -20,3 +20,25 @@ Index: kmod-19/testsuite/test-blacklist.c
|
|||||||
+);
|
+);
|
||||||
|
|
||||||
TESTSUITE_MAIN();
|
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();
|
||||||
|
Loading…
Reference in New Issue
Block a user