diff options
author | Marcus Meissner <meissner@suse.de> | 2015-02-22 11:48:13 +0100 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2015-02-22 13:46:18 -0300 |
commit | 0af8f786c0bae8c10d9b463d72e72cc6e80c26a2 (patch) | |
tree | f350d9eab24aed701012f04f23ef8372d3bb45e8 /testsuite | |
parent | 3f0eb43b6de450bcf5f722da6567c452e417399d (diff) | |
download | kmod-0af8f786c0bae8c10d9b463d72e72cc6e80c26a2.tar.gz kmod-0af8f786c0bae8c10d9b463d72e72cc6e80c26a2.tar.bz2 kmod-0af8f786c0bae8c10d9b463d72e72cc6e80c26a2.zip |
testsuite: move test-blacklist to DEFINE_TEST
otherwise the test will not be executed.
Signed-Off-By: Marcus Meissner <meissner@suse.de>
Diffstat (limited to 'testsuite')
-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(); |