diff options
Diffstat (limited to 'testsuite/test-blacklist.c')
-rw-r--r-- | testsuite/test-blacklist.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/testsuite/test-blacklist.c b/testsuite/test-blacklist.c index 0b9a30e..969567d 100644 --- a/testsuite/test-blacklist.c +++ b/testsuite/test-blacklist.c @@ -93,14 +93,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(); |