]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/license.c
ccanlint: rename test keys
[ccan] / tools / ccanlint / tests / license.c
index 9140f98ee2fc67f7863440d83d1986c8b1156ca5..bc0ee45464a688dcc8a6738be4b62b0e7faf0ad8 100644 (file)
@@ -50,6 +50,7 @@ static const char *expected_link(const struct manifest *m,
            || streq(d->lines[0], "LGPL (2 or any later version)"))
                return "../../licenses/LGPL-2.1";
        if (streq(d->lines[0], "BSD")
+           || streq(d->lines[0], "BSD-MIT")
            || streq(d->lines[0], "MIT"))
                return "../../licenses/BSD-MIT";
        return NULL;
@@ -147,8 +148,8 @@ static void check_has_license(struct manifest *m,
 }
 
 struct ccanlint has_license = {
-       .key = "has-license",
-       .name = "Module has license",
+       .key = "license_exists",
+       .name = "Module has License: entry in _info, and LICENSE symlink/file",
        .check = check_has_license,
 };