X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Flicense.c;h=965a159ff8fff53f15bea96d4675c052eedbd9f0;hp=1ffee9e25d6719b269e675db8a8eaf856f3d3dab;hb=2926cafb52b9d95646d9dafa877d53f2368d8b2c;hpb=016a19d260cd7f4afeb5b2b2cc28c8bbed1cd170 diff --git a/tools/ccanlint/tests/license.c b/tools/ccanlint/tests/license.c index 1ffee9e2..965a159f 100644 --- a/tools/ccanlint/tests/license.c +++ b/tools/ccanlint/tests/license.c @@ -149,11 +149,11 @@ static void check_has_license(struct manifest *m, score->score = score->total; } -struct ccanlint has_license = { +struct ccanlint license_exists = { .key = "license_exists", .name = "Module has License: entry in _info, and LICENSE symlink/file", .check = check_has_license, .needs = "info_exists" }; -REGISTER_TEST(has_license); +REGISTER_TEST(license_exists);