summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2024-05-21 01:21:34 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2024-05-21 01:21:34 +0200
commit0bbc18869720ad042b668742ca48e5cb8a37491a (patch)
tree55248d0a68679cf22fb7eac3a1a41ba6f0d039c7 /tests
parentf35e7ab6965d4da9779e948de71d23892954c1c7 (diff)
downloadblogc-0bbc18869720ad042b668742ca48e5cb8a37491a.tar.gz
blogc-0bbc18869720ad042b668742ca48e5cb8a37491a.tar.bz2
blogc-0bbc18869720ad042b668742ca48e5cb8a37491a.zip
*: modernize file headers (spdx and include guards)
Diffstat (limited to 'tests')
-rwxr-xr-xtests/blogc-git-receiver/check_post_receive.sh.in3
-rwxr-xr-xtests/blogc-git-receiver/check_pre_receive.sh.in3
-rw-r--r--tests/blogc-git-receiver/check_pre_receive_parser.c9
-rw-r--r--tests/blogc-git-receiver/check_settings.c9
-rwxr-xr-xtests/blogc-git-receiver/check_shell.sh.in3
-rw-r--r--tests/blogc-git-receiver/check_shell_command_parser.c9
-rw-r--r--tests/blogc-make/check_atom.c9
-rwxr-xr-xtests/blogc-make/check_blogc_make.sh.in3
-rw-r--r--tests/blogc-make/check_exec.c9
-rw-r--r--tests/blogc-make/check_rules.c9
-rw-r--r--tests/blogc-make/check_settings.c9
-rw-r--r--tests/blogc-make/check_utils.c9
-rw-r--r--tests/blogc-runserver/check_httpd_utils.c9
-rw-r--r--tests/blogc-runserver/check_mime.c9
-rwxr-xr-xtests/blogc/check_blogc.sh.in3
-rw-r--r--tests/blogc/check_content_parser.c9
-rw-r--r--tests/blogc/check_datetime_parser.c9
-rw-r--r--tests/blogc/check_filelist_parser.c9
-rw-r--r--tests/blogc/check_funcvars.c9
-rw-r--r--tests/blogc/check_loader.c9
-rw-r--r--tests/blogc/check_renderer.c9
-rw-r--r--tests/blogc/check_rusage.c9
-rw-r--r--tests/blogc/check_source_parser.c9
-rw-r--r--tests/blogc/check_sysinfo.c9
-rw-r--r--tests/blogc/check_sysinfo2.c9
-rw-r--r--tests/blogc/check_template_parser.c9
-rw-r--r--tests/blogc/check_toctree.c9
-rw-r--r--tests/common/check_config_parser.c9
-rw-r--r--tests/common/check_error.c9
-rw-r--r--tests/common/check_sort.c9
-rw-r--r--tests/common/check_stdin.c9
-rw-r--r--tests/common/check_utf8.c9
-rw-r--r--tests/common/check_utils.c9
33 files changed, 71 insertions, 196 deletions
diff --git a/tests/blogc-git-receiver/check_post_receive.sh.in b/tests/blogc-git-receiver/check_post_receive.sh.in
index 74d4df2..53535f4 100755
--- a/tests/blogc-git-receiver/check_post_receive.sh.in
+++ b/tests/blogc-git-receiver/check_post_receive.sh.in
@@ -1,5 +1,8 @@
#!@BASH@
+# SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+# SPDX-License-Identifier: BSD-3-Clause
+
set -xe -o pipefail
export LC_ALL=C
diff --git a/tests/blogc-git-receiver/check_pre_receive.sh.in b/tests/blogc-git-receiver/check_pre_receive.sh.in
index 2cf3c89..2c36f4c 100755
--- a/tests/blogc-git-receiver/check_pre_receive.sh.in
+++ b/tests/blogc-git-receiver/check_pre_receive.sh.in
@@ -1,5 +1,8 @@
#!@BASH@
+# SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+# SPDX-License-Identifier: BSD-3-Clause
+
set -xe -o pipefail
export LC_ALL=C
diff --git a/tests/blogc-git-receiver/check_pre_receive_parser.c b/tests/blogc-git-receiver/check_pre_receive_parser.c
index cad1421..8db72ac 100644
--- a/tests/blogc-git-receiver/check_pre_receive_parser.c
+++ b/tests/blogc-git-receiver/check_pre_receive_parser.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2020 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/blogc-git-receiver/check_settings.c b/tests/blogc-git-receiver/check_settings.c
index 61cd469..e1bd124 100644
--- a/tests/blogc-git-receiver/check_settings.c
+++ b/tests/blogc-git-receiver/check_settings.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2019 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/blogc-git-receiver/check_shell.sh.in b/tests/blogc-git-receiver/check_shell.sh.in
index f70fc50..bf25029 100755
--- a/tests/blogc-git-receiver/check_shell.sh.in
+++ b/tests/blogc-git-receiver/check_shell.sh.in
@@ -1,5 +1,8 @@
#!@BASH@
+# SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+# SPDX-License-Identifier: BSD-3-Clause
+
set -xe -o pipefail
export LC_ALL=C
diff --git a/tests/blogc-git-receiver/check_shell_command_parser.c b/tests/blogc-git-receiver/check_shell_command_parser.c
index eafeabb..1b7d8fb 100644
--- a/tests/blogc-git-receiver/check_shell_command_parser.c
+++ b/tests/blogc-git-receiver/check_shell_command_parser.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2019 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/blogc-make/check_atom.c b/tests/blogc-make/check_atom.c
index e93bc76..125ca85 100644
--- a/tests/blogc-make/check_atom.c
+++ b/tests/blogc-make/check_atom.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2020 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/blogc-make/check_blogc_make.sh.in b/tests/blogc-make/check_blogc_make.sh.in
index 73393d4..d999840 100755
--- a/tests/blogc-make/check_blogc_make.sh.in
+++ b/tests/blogc-make/check_blogc_make.sh.in
@@ -1,5 +1,8 @@
#!@BASH@
+# SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+# SPDX-License-Identifier: BSD-3-Clause
+
set -xe -o pipefail
export LC_ALL=C
diff --git a/tests/blogc-make/check_exec.c b/tests/blogc-make/check_exec.c
index 6b15423..05fc440 100644
--- a/tests/blogc-make/check_exec.c
+++ b/tests/blogc-make/check_exec.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2019 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#ifdef HAVE_CONFIG_H
#include <config.h>
diff --git a/tests/blogc-make/check_rules.c b/tests/blogc-make/check_rules.c
index 5da412f..9f3ad10 100644
--- a/tests/blogc-make/check_rules.c
+++ b/tests/blogc-make/check_rules.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2019 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/blogc-make/check_settings.c b/tests/blogc-make/check_settings.c
index b268570..3b136e7 100644
--- a/tests/blogc-make/check_settings.c
+++ b/tests/blogc-make/check_settings.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2019 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/blogc-make/check_utils.c b/tests/blogc-make/check_utils.c
index 09d1580..cc4fd60 100644
--- a/tests/blogc-make/check_utils.c
+++ b/tests/blogc-make/check_utils.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2019 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/blogc-runserver/check_httpd_utils.c b/tests/blogc-runserver/check_httpd_utils.c
index 9b2c39c..addf6fb 100644
--- a/tests/blogc-runserver/check_httpd_utils.c
+++ b/tests/blogc-runserver/check_httpd_utils.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2019 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/blogc-runserver/check_mime.c b/tests/blogc-runserver/check_mime.c
index 59d7238..d9a9fc8 100644
--- a/tests/blogc-runserver/check_mime.c
+++ b/tests/blogc-runserver/check_mime.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2019 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/blogc/check_blogc.sh.in b/tests/blogc/check_blogc.sh.in
index 208524d..8b23d3e 100755
--- a/tests/blogc/check_blogc.sh.in
+++ b/tests/blogc/check_blogc.sh.in
@@ -1,5 +1,8 @@
#!@BASH@
+# SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+# SPDX-License-Identifier: BSD-3-Clause
+
set -xe -o pipefail
export LC_ALL=C
diff --git a/tests/blogc/check_content_parser.c b/tests/blogc/check_content_parser.c
index 71f1680..e550672 100644
--- a/tests/blogc/check_content_parser.c
+++ b/tests/blogc/check_content_parser.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2020 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/blogc/check_datetime_parser.c b/tests/blogc/check_datetime_parser.c
index fe0ddd8..5b54af3 100644
--- a/tests/blogc/check_datetime_parser.c
+++ b/tests/blogc/check_datetime_parser.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2019 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/blogc/check_filelist_parser.c b/tests/blogc/check_filelist_parser.c
index da1698e..a7417f7 100644
--- a/tests/blogc/check_filelist_parser.c
+++ b/tests/blogc/check_filelist_parser.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2020 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/blogc/check_funcvars.c b/tests/blogc/check_funcvars.c
index 23f1723..9b083a2 100644
--- a/tests/blogc/check_funcvars.c
+++ b/tests/blogc/check_funcvars.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2019 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/blogc/check_loader.c b/tests/blogc/check_loader.c
index caeb8d8..e7a21b6 100644
--- a/tests/blogc/check_loader.c
+++ b/tests/blogc/check_loader.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2020 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/blogc/check_renderer.c b/tests/blogc/check_renderer.c
index 08aed84..bcc5a70 100644
--- a/tests/blogc/check_renderer.c
+++ b/tests/blogc/check_renderer.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2020 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/blogc/check_rusage.c b/tests/blogc/check_rusage.c
index c332991..38f49a2 100644
--- a/tests/blogc/check_rusage.c
+++ b/tests/blogc/check_rusage.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2019 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/blogc/check_source_parser.c b/tests/blogc/check_source_parser.c
index 822133c..b7e703c 100644
--- a/tests/blogc/check_source_parser.c
+++ b/tests/blogc/check_source_parser.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2020 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/blogc/check_sysinfo.c b/tests/blogc/check_sysinfo.c
index 197092c..134c4a9 100644
--- a/tests/blogc/check_sysinfo.c
+++ b/tests/blogc/check_sysinfo.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2019 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/blogc/check_sysinfo2.c b/tests/blogc/check_sysinfo2.c
index 7dd440d..813f920 100644
--- a/tests/blogc/check_sysinfo2.c
+++ b/tests/blogc/check_sysinfo2.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2019 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/blogc/check_template_parser.c b/tests/blogc/check_template_parser.c
index ace8ac4..8dc3b87 100644
--- a/tests/blogc/check_template_parser.c
+++ b/tests/blogc/check_template_parser.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2020 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/blogc/check_toctree.c b/tests/blogc/check_toctree.c
index 05cc008..5401203 100644
--- a/tests/blogc/check_toctree.c
+++ b/tests/blogc/check_toctree.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2020 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/common/check_config_parser.c b/tests/common/check_config_parser.c
index 5360f54..f789eeb 100644
--- a/tests/common/check_config_parser.c
+++ b/tests/common/check_config_parser.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2019 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/common/check_error.c b/tests/common/check_error.c
index 658ad22..3de9c11 100644
--- a/tests/common/check_error.c
+++ b/tests/common/check_error.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2019 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/common/check_sort.c b/tests/common/check_sort.c
index 2bc8751..059470c 100644
--- a/tests/common/check_sort.c
+++ b/tests/common/check_sort.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2019 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/common/check_stdin.c b/tests/common/check_stdin.c
index 5616ee9..3d7df63 100644
--- a/tests/common/check_stdin.c
+++ b/tests/common/check_stdin.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2020 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/common/check_utf8.c b/tests/common/check_utf8.c
index 95e2eab..734870d 100644
--- a/tests/common/check_utf8.c
+++ b/tests/common/check_utf8.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2019 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>
diff --git a/tests/common/check_utils.c b/tests/common/check_utils.c
index 20e6891..54630f9 100644
--- a/tests/common/check_utils.c
+++ b/tests/common/check_utils.c
@@ -1,10 +1,5 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2014-2020 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the BSD License.
- * See the file LICENSE.
- */
+// SPDX-FileCopyrightText: 2014-2024 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+// SPDX-License-Identifier: BSD-3-Clause
#include <stdarg.h>
#include <stddef.h>