summaryrefslogtreecommitdiffstats
path: root/tests/blogc-make
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/blogc-make
parentf35e7ab6965d4da9779e948de71d23892954c1c7 (diff)
downloadblogc-0bbc18869720ad042b668742ca48e5cb8a37491a.tar.gz
blogc-0bbc18869720ad042b668742ca48e5cb8a37491a.tar.bz2
blogc-0bbc18869720ad042b668742ca48e5cb8a37491a.zip
*: modernize file headers (spdx and include guards)
Diffstat (limited to 'tests/blogc-make')
-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
6 files changed, 13 insertions, 35 deletions
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>