diff options
Diffstat (limited to 'tests')
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> |