From 37e94bd191701a08e0081b2027cfbede6d76a21c Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Sun, 4 Jun 2023 08:13:23 +0200 Subject: treewide: Change to GPLv2, add LICENSES, missing headers As discussed with Alice -- 'reuse lint' passes now. Signed-off-by: Stefano Brivio --- tests/integration/README.md | 6 ++++++ tests/integration/requirements.txt | 2 ++ tests/integration/seitan_containers.py | 2 +- tests/unit/Makefile | 2 +- tests/unit/test_errors.c | 2 +- tests/unit/test_filter.c | 2 +- tests/unit/test_filter_build.c | 2 +- tests/unit/test_op_call.c | 2 +- tests/unit/test_operations.c | 2 +- tests/unit/testutil.h | 5 +++++ tests/unit/util.c | 5 +++++ 11 files changed, 25 insertions(+), 7 deletions(-) (limited to 'tests') diff --git a/tests/integration/README.md b/tests/integration/README.md index cc99ead..196d9f0 100644 --- a/tests/integration/README.md +++ b/tests/integration/README.md @@ -1,3 +1,9 @@ + + # Howto setup and run the integration tests The integration tests require access to podman socket activation (root) as diff --git a/tests/integration/requirements.txt b/tests/integration/requirements.txt index 3126efe..86e85e5 100644 --- a/tests/integration/requirements.txt +++ b/tests/integration/requirements.txt @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2023 Red Hat GmbH +# SPDX-License-Identifier: GPL-2.0-or-later attrs==22.2.0 certifi==2022.12.7 charset-normalizer==3.0.1 diff --git a/tests/integration/seitan_containers.py b/tests/integration/seitan_containers.py index fcbf3b2..e85b3ad 100755 --- a/tests/integration/seitan_containers.py +++ b/tests/integration/seitan_containers.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-2.0-or-later # # seitan - Syscall Expressive Interpreter, Transformer and Notifier # diff --git a/tests/unit/Makefile b/tests/unit/Makefile index 6b8738a..1a7f70a 100644 --- a/tests/unit/Makefile +++ b/tests/unit/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-2.0-or-later # Copyright 2023 Red Hat GmbH # Author: Alice Frosi diff --git a/tests/unit/test_errors.c b/tests/unit/test_errors.c index 2880d92..0f971cd 100644 --- a/tests/unit/test_errors.c +++ b/tests/unit/test_errors.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later +/* SPDX-License-Identifier: GPL-2.0-or-later * Copyright 2023 Red Hat GmbH * Author: Alice Frosi */ diff --git a/tests/unit/test_filter.c b/tests/unit/test_filter.c index 24a18be..5562447 100644 --- a/tests/unit/test_filter.c +++ b/tests/unit/test_filter.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later +/* SPDX-License-Identifier: GPL-2.0-or-later * Copyright 2023 Red Hat GmbH * Author: Alice Frosi */ diff --git a/tests/unit/test_filter_build.c b/tests/unit/test_filter_build.c index 00d5180..f6d9ba5 100644 --- a/tests/unit/test_filter_build.c +++ b/tests/unit/test_filter_build.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later +/* SPDX-License-Identifier: GPL-2.0-or-later * Copyright 2023 Red Hat GmbH * Author: Alice Frosi */ diff --git a/tests/unit/test_op_call.c b/tests/unit/test_op_call.c index ea6f442..4bcc4da 100644 --- a/tests/unit/test_op_call.c +++ b/tests/unit/test_op_call.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later +/* SPDX-License-Identifier: GPL-2.0-or-later * Copyright 2023 Red Hat GmbH * Author: Alice Frosi */ diff --git a/tests/unit/test_operations.c b/tests/unit/test_operations.c index a955832..dfcb72c 100644 --- a/tests/unit/test_operations.c +++ b/tests/unit/test_operations.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later +/* SPDX-License-Identifier: GPL-2.0-or-later * Copyright 2023 Red Hat GmbH * Author: Alice Frosi */ diff --git a/tests/unit/testutil.h b/tests/unit/testutil.h index 4a6c72d..a0fa0b8 100644 --- a/tests/unit/testutil.h +++ b/tests/unit/testutil.h @@ -1,3 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later + * Copyright 2023 Red Hat GmbH + * Author: Alice Frosi + */ + #ifndef TESTUTIL_H #define TESTUTIL_H #include diff --git a/tests/unit/util.c b/tests/unit/util.c index 4fee6e7..96d6663 100644 --- a/tests/unit/util.c +++ b/tests/unit/util.c @@ -1,3 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later + * Copyright 2023 Red Hat GmbH + * Author: Alice Frosi + */ + #define _GNU_SOURCE #include -- cgit v1.2.3