summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorMarcus Meissner <meissner@suse.de>2015-02-22 11:48:13 +0100
committerLucas De Marchi <lucas.demarchi@intel.com>2015-02-22 13:46:18 -0300
commit0af8f786c0bae8c10d9b463d72e72cc6e80c26a2 (patch)
treef350d9eab24aed701012f04f23ef8372d3bb45e8 /testsuite
parent3f0eb43b6de450bcf5f722da6567c452e417399d (diff)
downloadkmod-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.c7
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();