Marcus Meissner
07f12cb6c1
OBS-URL: https://build.opensuse.org/package/show/Base:System/kmod?expand=0&rev=87
23 lines
576 B
Diff
23 lines
576 B
Diff
Index: kmod-19/testsuite/test-blacklist.c
|
|
===================================================================
|
|
--- kmod-19.orig/testsuite/test-blacklist.c
|
|
+++ kmod-19/testsuite/test-blacklist.c
|
|
@@ -92,14 +92,13 @@ fail_lookup:
|
|
kmod_unref(ctx);
|
|
return EXIT_FAILURE;
|
|
}
|
|
-static const struct test sblacklist_1 = {
|
|
- .name = "blacklist_1",
|
|
+
|
|
+DEFINE_TEST(blacklist_1,
|
|
.description = "check if modules are correctly blacklisted",
|
|
- .func = blacklist_1,
|
|
.config = {
|
|
[TC_ROOTFS] = TESTSUITE_ROOTFS "test-blacklist/",
|
|
},
|
|
.need_spawn = true,
|
|
-};
|
|
+);
|
|
|
|
TESTSUITE_MAIN();
|