aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2024-03-19 18:58:38 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2025-06-15 01:30:27 +0200
commit8b0cc264e1134d35990d00cdbdef95d5c067fc7c (patch)
tree42553b92e2b5e0f7878787d75ee674b077b316eb
parent9a9ec1f61251e7c31f7b768a815fb3afcf8773f3 (diff)
downloadhaunt-blog-8b0cc264e1134d35990d00cdbdef95d5c067fc7c.tar.gz
haunt-blog-8b0cc264e1134d35990d00cdbdef95d5c067fc7c.tar.bz2
haunt-blog-8b0cc264e1134d35990d00cdbdef95d5c067fc7c.zip
tests.sh: fix license checks.
This was broken from the start with the commit d4c78bb24dcc052a318dc73da8fc734d372394b2 ("Add very primitive tests."). Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rwxr-xr-xtests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index b16946f..71e3d94 100755
--- a/tests.sh
+++ b/tests.sh
@@ -19,7 +19,7 @@ nr_errors=0
# Test the CommonMark files for license compliance.
for file in markdown/*.md ; do
- if grep '^License: ' "${file}" > /dev/null ; then
+ if grep '^licenses: ' "${file}" > /dev/null ; then
echo "[ OK ] ${file}: has a license."
else
echo "[ !! ] ${file}: license is missing."