summaryrefslogtreecommitdiffstats
path: root/test/test-path
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-10-17 18:07:22 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-10-18 09:04:45 +0200
commit22d3cfe54c0c35c8ad0aa93de0a97dec160de59f (patch)
tree17c69eae70ca31bf31102e78841b9fbfe3bcb90a /test/test-path
parentbpf: fix SPDX short identifier for LGPL-2.1-or-later (diff)
downloadsystemd-22d3cfe54c0c35c8ad0aa93de0a97dec160de59f.tar.xz
systemd-22d3cfe54c0c35c8ad0aa93de0a97dec160de59f.zip
tests: add spdx license header to test unit/link/network/conf files
Those are all consumed by our parser, so they all support comments. I was considering whether they should have a license header at all, but in the end I decided to add it because those files are often created by copying parts of real unit files. And if the real ones have a license, then those might as well. It's easier to add it than to make an exception.
Diffstat (limited to 'test/test-path')
-rw-r--r--test/test-path/basic.target9
-rw-r--r--test/test-path/path-changed.path2
-rw-r--r--test/test-path/path-changed.service2
-rw-r--r--test/test-path/path-directorynotempty.path2
-rw-r--r--test/test-path/path-directorynotempty.service2
-rw-r--r--test/test-path/path-exists.path2
-rw-r--r--test/test-path/path-exists.service2
-rw-r--r--test/test-path/path-existsglob.path2
-rw-r--r--test/test-path/path-existsglob.service2
-rw-r--r--test/test-path/path-makedirectory.path2
-rw-r--r--test/test-path/path-makedirectory.service2
-rw-r--r--test/test-path/path-modified.path2
-rw-r--r--test/test-path/path-modified.service2
-rw-r--r--test/test-path/path-mycustomunit.service2
-rw-r--r--test/test-path/path-unit.path2
-rw-r--r--test/test-path/paths.target9
-rw-r--r--test/test-path/sysinit.target9
17 files changed, 31 insertions, 24 deletions
diff --git a/test/test-path/basic.target b/test/test-path/basic.target
index d8cdd5ac14..45f71aac98 100644
--- a/test/test-path/basic.target
+++ b/test/test-path/basic.target
@@ -1,11 +1,4 @@
-# SPDX-License-Identifier: LGPL-2.1-or-later
-#
-# This file is part of systemd.
-#
-# systemd is free software; you can redistribute it and/or modify it
-# under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or
-# (at your option) any later version.
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Basic System
diff --git a/test/test-path/path-changed.path b/test/test-path/path-changed.path
index e58bdd925f..fbdd8f6259 100644
--- a/test/test-path/path-changed.path
+++ b/test/test-path/path-changed.path
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
[Unit]
Description=Test PathChanged
diff --git a/test/test-path/path-changed.service b/test/test-path/path-changed.service
index 1246ec2ee7..c7e6b487d5 100644
--- a/test/test-path/path-changed.service
+++ b/test/test-path/path-changed.service
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
[Unit]
Description=Service Test for Path units
diff --git a/test/test-path/path-directorynotempty.path b/test/test-path/path-directorynotempty.path
index 17e599fc0e..cce0899981 100644
--- a/test/test-path/path-directorynotempty.path
+++ b/test/test-path/path-directorynotempty.path
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
[Unit]
Description=Test DirectoryNotEmpty
diff --git a/test/test-path/path-directorynotempty.service b/test/test-path/path-directorynotempty.service
index 1246ec2ee7..c7e6b487d5 100644
--- a/test/test-path/path-directorynotempty.service
+++ b/test/test-path/path-directorynotempty.service
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
[Unit]
Description=Service Test for Path units
diff --git a/test/test-path/path-exists.path b/test/test-path/path-exists.path
index c4c9105af4..b18bbc893a 100644
--- a/test/test-path/path-exists.path
+++ b/test/test-path/path-exists.path
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
[Unit]
Description=Test PathExists
diff --git a/test/test-path/path-exists.service b/test/test-path/path-exists.service
index 1246ec2ee7..c7e6b487d5 100644
--- a/test/test-path/path-exists.service
+++ b/test/test-path/path-exists.service
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
[Unit]
Description=Service Test for Path units
diff --git a/test/test-path/path-existsglob.path b/test/test-path/path-existsglob.path
index a058599605..7c0d89746d 100644
--- a/test/test-path/path-existsglob.path
+++ b/test/test-path/path-existsglob.path
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
[Unit]
Description=Test PathExistsGlob
diff --git a/test/test-path/path-existsglob.service b/test/test-path/path-existsglob.service
index 1246ec2ee7..c7e6b487d5 100644
--- a/test/test-path/path-existsglob.service
+++ b/test/test-path/path-existsglob.service
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
[Unit]
Description=Service Test for Path units
diff --git a/test/test-path/path-makedirectory.path b/test/test-path/path-makedirectory.path
index 9408479c0f..24ff187fff 100644
--- a/test/test-path/path-makedirectory.path
+++ b/test/test-path/path-makedirectory.path
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
[Unit]
Description=Test MakeDirectory & DirectoryMode
diff --git a/test/test-path/path-makedirectory.service b/test/test-path/path-makedirectory.service
index 1246ec2ee7..c7e6b487d5 100644
--- a/test/test-path/path-makedirectory.service
+++ b/test/test-path/path-makedirectory.service
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
[Unit]
Description=Service Test for Path units
diff --git a/test/test-path/path-modified.path b/test/test-path/path-modified.path
index 18363227ba..20207fb62a 100644
--- a/test/test-path/path-modified.path
+++ b/test/test-path/path-modified.path
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
[Unit]
Description=Test PathModified
diff --git a/test/test-path/path-modified.service b/test/test-path/path-modified.service
index 1246ec2ee7..c7e6b487d5 100644
--- a/test/test-path/path-modified.service
+++ b/test/test-path/path-modified.service
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
[Unit]
Description=Service Test for Path units
diff --git a/test/test-path/path-mycustomunit.service b/test/test-path/path-mycustomunit.service
index 6a9bac09cd..b3924fe5ac 100644
--- a/test/test-path/path-mycustomunit.service
+++ b/test/test-path/path-mycustomunit.service
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
[Unit]
Description=Service Test Path Unit
diff --git a/test/test-path/path-unit.path b/test/test-path/path-unit.path
index 95e572d6d5..c79fa8ede4 100644
--- a/test/test-path/path-unit.path
+++ b/test/test-path/path-unit.path
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
[Unit]
Description=Test Path Unit=
diff --git a/test/test-path/paths.target b/test/test-path/paths.target
index 1bec148bee..e2549a7a5b 100644
--- a/test/test-path/paths.target
+++ b/test/test-path/paths.target
@@ -1,11 +1,4 @@
-# SPDX-License-Identifier: LGPL-2.1-or-later
-#
-# This file is part of systemd.
-#
-# systemd is free software; you can redistribute it and/or modify it
-# under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or
-# (at your option) any later version.
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Paths
diff --git a/test/test-path/sysinit.target b/test/test-path/sysinit.target
index eed3d16b45..566f7b9776 100644
--- a/test/test-path/sysinit.target
+++ b/test/test-path/sysinit.target
@@ -1,11 +1,4 @@
-# SPDX-License-Identifier: LGPL-2.1-or-later
-#
-# This file is part of systemd.
-#
-# systemd is free software; you can redistribute it and/or modify it
-# under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or
-# (at your option) any later version.
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=System Initialization