From: Marcus Meissner Date: Sun, 22 Feb 2015 10:48:13 +0000 (+0100) Subject: testsuite: move test-blacklist to DEFINE_TEST X-Git-Tag: v20~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0af8f786c0bae8c10d9b463d72e72cc6e80c26a2;p=thirdparty%2Fkmod.git testsuite: move test-blacklist to DEFINE_TEST otherwise the test will not be executed. Signed-Off-By: Marcus Meissner --- diff --git a/testsuite/test-blacklist.c b/testsuite/test-blacklist.c index 0b9a30e8..969567dd 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();