aboutgitcodelistschat:MatrixIRC
path: root/tests
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2023-06-04 08:13:23 +0200
committerStefano Brivio <sbrivio@redhat.com>2023-06-04 08:29:05 +0200
commit37e94bd191701a08e0081b2027cfbede6d76a21c (patch)
tree873e2646f52d901c057d40c47499a3f80ba2d23f /tests
parent6a8f05f9f0d10b257edce878381bf22b1249537e (diff)
downloadseitan-37e94bd191701a08e0081b2027cfbede6d76a21c.tar
seitan-37e94bd191701a08e0081b2027cfbede6d76a21c.tar.gz
seitan-37e94bd191701a08e0081b2027cfbede6d76a21c.tar.bz2
seitan-37e94bd191701a08e0081b2027cfbede6d76a21c.tar.lz
seitan-37e94bd191701a08e0081b2027cfbede6d76a21c.tar.xz
seitan-37e94bd191701a08e0081b2027cfbede6d76a21c.tar.zst
seitan-37e94bd191701a08e0081b2027cfbede6d76a21c.zip
treewide: Change to GPLv2, add LICENSES, missing headers
As discussed with Alice -- 'reuse lint' passes now. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/README.md6
-rw-r--r--tests/integration/requirements.txt2
-rwxr-xr-xtests/integration/seitan_containers.py2
-rw-r--r--tests/unit/Makefile2
-rw-r--r--tests/unit/test_errors.c2
-rw-r--r--tests/unit/test_filter.c2
-rw-r--r--tests/unit/test_filter_build.c2
-rw-r--r--tests/unit/test_op_call.c2
-rw-r--r--tests/unit/test_operations.c2
-rw-r--r--tests/unit/testutil.h5
-rw-r--r--tests/unit/util.c5
11 files changed, 25 insertions, 7 deletions
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 @@
+<!---
+SPDX-License-Identifier: GPL-2.0-or-later
+Copyright (c) 2023 Red Hat GmbH
+Author: Alice Frosi <afrosi@redhat.com>
+-->
+
# 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 <afrosi@redhat.com>
+# 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 <afrosi@redhat.com>
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 <afrosi@redhat.com>
*/
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 <afrosi@redhat.com>
*/
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 <afrosi@redhat.com>
*/
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 <afrosi@redhat.com>
*/
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 <afrosi@redhat.com>
*/
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 <afrosi@redhat.com>
+ */
+
#ifndef TESTUTIL_H
#define TESTUTIL_H
#include <stdio.h>
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 <afrosi@redhat.com>
+ */
+
#define _GNU_SOURCE
#include <stddef.h>