summaryrefslogtreecommitdiff
path: root/test/test-execute
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-execute
parent010b5f35f328bf3a4841da67808b179b1064006e (diff)
downloadsystemd-22d3cfe54c0c35c8ad0aa93de0a97dec160de59f.tar.gz
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-execute')
-rw-r--r--test/test-execute/exec-ambientcapabilities-merge-nfsnobody.service1
-rw-r--r--test/test-execute/exec-ambientcapabilities-merge-nobody.service1
-rw-r--r--test/test-execute/exec-ambientcapabilities-merge.service1
-rw-r--r--test/test-execute/exec-ambientcapabilities-nfsnobody.service1
-rw-r--r--test/test-execute/exec-ambientcapabilities-nobody.service1
-rw-r--r--test/test-execute/exec-ambientcapabilities.service1
-rw-r--r--test/test-execute/exec-basic.service1
-rw-r--r--test/test-execute/exec-bindpaths.service1
-rw-r--r--test/test-execute/exec-capabilityboundingset-invert.service1
-rw-r--r--test/test-execute/exec-capabilityboundingset-merge.service1
-rw-r--r--test/test-execute/exec-capabilityboundingset-reset.service1
-rw-r--r--test/test-execute/exec-capabilityboundingset-simple.service1
-rw-r--r--test/test-execute/exec-condition-failed.service1
-rw-r--r--test/test-execute/exec-condition-skip.service1
-rw-r--r--test/test-execute/exec-cpuaffinity1.service1
-rw-r--r--test/test-execute/exec-cpuaffinity2.service1
-rw-r--r--test/test-execute/exec-cpuaffinity3.service1
-rw-r--r--test/test-execute/exec-dynamicuser-fixeduser-adm.service1
-rw-r--r--test/test-execute/exec-dynamicuser-fixeduser-games.service1
-rw-r--r--test/test-execute/exec-dynamicuser-fixeduser-one-supplementarygroup.service1
-rw-r--r--test/test-execute/exec-dynamicuser-fixeduser.service1
-rw-r--r--test/test-execute/exec-dynamicuser-runtimedirectory1.service1
-rw-r--r--test/test-execute/exec-dynamicuser-runtimedirectory2.service1
-rw-r--r--test/test-execute/exec-dynamicuser-runtimedirectory3.service1
-rw-r--r--test/test-execute/exec-dynamicuser-statedir-migrate-step1.service1
-rw-r--r--test/test-execute/exec-dynamicuser-statedir-migrate-step2.service1
-rw-r--r--test/test-execute/exec-dynamicuser-statedir.service1
-rw-r--r--test/test-execute/exec-dynamicuser-supplementarygroups.service1
-rw-r--r--test/test-execute/exec-environment-empty.service1
-rw-r--r--test/test-execute/exec-environment-multiple.service1
-rw-r--r--test/test-execute/exec-environment-no-substitute.service1
-rw-r--r--test/test-execute/exec-environment.service1
-rw-r--r--test/test-execute/exec-environmentfile.service1
-rw-r--r--test/test-execute/exec-execsearchpath-environment-path-set.service1
-rw-r--r--test/test-execute/exec-execsearchpath-environment.service1
-rw-r--r--test/test-execute/exec-execsearchpath-environmentfile-set.service1
-rw-r--r--test/test-execute/exec-execsearchpath-environmentfile.service1
-rw-r--r--test/test-execute/exec-execsearchpath-passenvironment-set.service1
-rw-r--r--test/test-execute/exec-execsearchpath-passenvironment.service1
-rw-r--r--test/test-execute/exec-execsearchpath-unit-specifier.service1
-rw-r--r--test/test-execute/exec-execsearchpath.service1
-rw-r--r--test/test-execute/exec-group-nfsnobody.service1
-rw-r--r--test/test-execute/exec-group-nobody.service1
-rw-r--r--test/test-execute/exec-group-nogroup.service1
-rw-r--r--test/test-execute/exec-group.service1
-rw-r--r--test/test-execute/exec-ignoresigpipe-no.service1
-rw-r--r--test/test-execute/exec-ignoresigpipe-yes.service1
-rw-r--r--test/test-execute/exec-inaccessiblepaths-mount-propagation.service1
-rw-r--r--test/test-execute/exec-inaccessiblepaths-sys.service1
-rw-r--r--test/test-execute/exec-ioschedulingclass-best-effort.service1
-rw-r--r--test/test-execute/exec-ioschedulingclass-idle.service1
-rw-r--r--test/test-execute/exec-ioschedulingclass-none.service1
-rw-r--r--test/test-execute/exec-ioschedulingclass-realtime.service1
-rw-r--r--test/test-execute/exec-mount-apivfs-no.service1
-rw-r--r--test/test-execute/exec-noexecpaths-simple.service1
-rw-r--r--test/test-execute/exec-oomscoreadjust-negative.service1
-rw-r--r--test/test-execute/exec-oomscoreadjust-positive.service1
-rw-r--r--test/test-execute/exec-passenvironment-absent.service1
-rw-r--r--test/test-execute/exec-passenvironment-empty.service1
-rw-r--r--test/test-execute/exec-passenvironment-repeated.service1
-rw-r--r--test/test-execute/exec-passenvironment.service1
-rw-r--r--test/test-execute/exec-personality-aarch64.service1
-rw-r--r--test/test-execute/exec-personality-ppc64.service1
-rw-r--r--test/test-execute/exec-personality-ppc64le.service1
-rw-r--r--test/test-execute/exec-personality-s390.service1
-rw-r--r--test/test-execute/exec-personality-x86-64.service1
-rw-r--r--test/test-execute/exec-personality-x86.service1
-rw-r--r--test/test-execute/exec-privatedevices-disabled-by-prefix.service1
-rw-r--r--test/test-execute/exec-privatedevices-no-capability-mknod.service1
-rw-r--r--test/test-execute/exec-privatedevices-no-capability-sys-rawio.service1
-rw-r--r--test/test-execute/exec-privatedevices-no.service1
-rw-r--r--test/test-execute/exec-privatedevices-yes-capability-mknod.service1
-rw-r--r--test/test-execute/exec-privatedevices-yes-capability-sys-rawio.service1
-rw-r--r--test/test-execute/exec-privatedevices-yes-with-group.service1
-rw-r--r--test/test-execute/exec-privatedevices-yes.service1
-rw-r--r--test/test-execute/exec-privatenetwork-yes.service1
-rw-r--r--test/test-execute/exec-privatetmp-disabled-by-prefix.service1
-rw-r--r--test/test-execute/exec-privatetmp-no.service1
-rw-r--r--test/test-execute/exec-privatetmp-yes.service1
-rw-r--r--test/test-execute/exec-protecthome-tmpfs-vs-protectsystem-strict.service1
-rw-r--r--test/test-execute/exec-protectkernellogs-no-capabilities.service1
-rw-r--r--test/test-execute/exec-protectkernellogs-yes-capabilities.service1
-rw-r--r--test/test-execute/exec-protectkernelmodules-no-capabilities.service1
-rw-r--r--test/test-execute/exec-protectkernelmodules-yes-capabilities.service1
-rw-r--r--test/test-execute/exec-protectkernelmodules-yes-mount-propagation.service1
-rw-r--r--test/test-execute/exec-readonlypaths-mount-propagation.service1
-rw-r--r--test/test-execute/exec-readonlypaths-simple.service1
-rw-r--r--test/test-execute/exec-readonlypaths-with-bindpaths.service1
-rw-r--r--test/test-execute/exec-readonlypaths.service1
-rw-r--r--test/test-execute/exec-readwritepaths-mount-propagation.service1
-rw-r--r--test/test-execute/exec-restrictnamespaces-merge-all.service1
-rw-r--r--test/test-execute/exec-restrictnamespaces-merge-and.service1
-rw-r--r--test/test-execute/exec-restrictnamespaces-merge-or.service1
-rw-r--r--test/test-execute/exec-restrictnamespaces-mnt-deny-list.service1
-rw-r--r--test/test-execute/exec-restrictnamespaces-mnt.service1
-rw-r--r--test/test-execute/exec-restrictnamespaces-no.service1
-rw-r--r--test/test-execute/exec-restrictnamespaces-yes.service1
-rw-r--r--test/test-execute/exec-runtimedirectory-mode.service1
-rw-r--r--test/test-execute/exec-runtimedirectory-owner-nfsnobody.service1
-rw-r--r--test/test-execute/exec-runtimedirectory-owner-nobody.service1
-rw-r--r--test/test-execute/exec-runtimedirectory-owner-nogroup.service1
-rw-r--r--test/test-execute/exec-runtimedirectory-owner.service1
-rw-r--r--test/test-execute/exec-runtimedirectory.service1
-rw-r--r--test/test-execute/exec-specifier-interpolation.service1
-rw-r--r--test/test-execute/exec-specifier.service1
-rw-r--r--test/test-execute/exec-specifier@.service1
-rw-r--r--test/test-execute/exec-standardinput-data.service1
-rw-r--r--test/test-execute/exec-standardinput-file-cat.service1
-rw-r--r--test/test-execute/exec-standardinput-file.service1
-rw-r--r--test/test-execute/exec-standardoutput-append.service1
-rw-r--r--test/test-execute/exec-standardoutput-file.service1
-rw-r--r--test/test-execute/exec-standardoutput-truncate.service1
-rw-r--r--test/test-execute/exec-supplementarygroups-multiple-groups-default-group-user.service1
-rw-r--r--test/test-execute/exec-supplementarygroups-multiple-groups-withgid.service1
-rw-r--r--test/test-execute/exec-supplementarygroups-multiple-groups-withuid.service1
-rw-r--r--test/test-execute/exec-supplementarygroups-single-group-user.service1
-rw-r--r--test/test-execute/exec-supplementarygroups-single-group.service1
-rw-r--r--test/test-execute/exec-supplementarygroups.service1
-rw-r--r--test/test-execute/exec-systemcallerrornumber-name.service1
-rw-r--r--test/test-execute/exec-systemcallerrornumber-number.service1
-rw-r--r--test/test-execute/exec-systemcallfilter-failing.service1
-rw-r--r--test/test-execute/exec-systemcallfilter-failing2.service1
-rw-r--r--test/test-execute/exec-systemcallfilter-failing3.service1
-rw-r--r--test/test-execute/exec-systemcallfilter-not-failing.service1
-rw-r--r--test/test-execute/exec-systemcallfilter-not-failing2.service1
-rw-r--r--test/test-execute/exec-systemcallfilter-not-failing3.service1
-rw-r--r--test/test-execute/exec-systemcallfilter-override-error-action.service1
-rw-r--r--test/test-execute/exec-systemcallfilter-override-error-action2.service1
-rw-r--r--test/test-execute/exec-systemcallfilter-system-user-nfsnobody.service1
-rw-r--r--test/test-execute/exec-systemcallfilter-system-user-nobody.service1
-rw-r--r--test/test-execute/exec-systemcallfilter-system-user.service1
-rw-r--r--test/test-execute/exec-systemcallfilter-with-errno-in-allow-list.service1
-rw-r--r--test/test-execute/exec-systemcallfilter-with-errno-multi.service1
-rw-r--r--test/test-execute/exec-systemcallfilter-with-errno-name.service1
-rw-r--r--test/test-execute/exec-systemcallfilter-with-errno-number.service1
-rw-r--r--test/test-execute/exec-temporaryfilesystem-options.service1
-rw-r--r--test/test-execute/exec-temporaryfilesystem-ro.service1
-rw-r--r--test/test-execute/exec-temporaryfilesystem-rw.service1
-rw-r--r--test/test-execute/exec-temporaryfilesystem-usr.service1
-rw-r--r--test/test-execute/exec-umask-0177.service1
-rw-r--r--test/test-execute/exec-umask-default.service1
-rw-r--r--test/test-execute/exec-unsetenvironment.service1
-rw-r--r--test/test-execute/exec-user-nfsnobody.service1
-rw-r--r--test/test-execute/exec-user-nobody.service1
-rw-r--r--test/test-execute/exec-user.service1
-rw-r--r--test/test-execute/exec-workingdirectory-trailing-dot.service1
-rw-r--r--test/test-execute/exec-workingdirectory.service1
147 files changed, 147 insertions, 0 deletions
diff --git a/test/test-execute/exec-ambientcapabilities-merge-nfsnobody.service b/test/test-execute/exec-ambientcapabilities-merge-nfsnobody.service
index d2cadebde4..4960da56be 100644
--- a/test/test-execute/exec-ambientcapabilities-merge-nfsnobody.service
+++ b/test/test-execute/exec-ambientcapabilities-merge-nfsnobody.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for AmbientCapabilities
diff --git a/test/test-execute/exec-ambientcapabilities-merge-nobody.service b/test/test-execute/exec-ambientcapabilities-merge-nobody.service
index 545081d629..4c72b2eee5 100644
--- a/test/test-execute/exec-ambientcapabilities-merge-nobody.service
+++ b/test/test-execute/exec-ambientcapabilities-merge-nobody.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for AmbientCapabilities
diff --git a/test/test-execute/exec-ambientcapabilities-merge.service b/test/test-execute/exec-ambientcapabilities-merge.service
index 2e3fe59124..13a5d4577e 100644
--- a/test/test-execute/exec-ambientcapabilities-merge.service
+++ b/test/test-execute/exec-ambientcapabilities-merge.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for AmbientCapabilities (daemon)
diff --git a/test/test-execute/exec-ambientcapabilities-nfsnobody.service b/test/test-execute/exec-ambientcapabilities-nfsnobody.service
index 9377ee16b2..10cb44012b 100644
--- a/test/test-execute/exec-ambientcapabilities-nfsnobody.service
+++ b/test/test-execute/exec-ambientcapabilities-nfsnobody.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for AmbientCapabilities
diff --git a/test/test-execute/exec-ambientcapabilities-nobody.service b/test/test-execute/exec-ambientcapabilities-nobody.service
index 07a6c7511d..5400cac951 100644
--- a/test/test-execute/exec-ambientcapabilities-nobody.service
+++ b/test/test-execute/exec-ambientcapabilities-nobody.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for AmbientCapabilities
diff --git a/test/test-execute/exec-ambientcapabilities.service b/test/test-execute/exec-ambientcapabilities.service
index d91cc09a48..5336bec3d8 100644
--- a/test/test-execute/exec-ambientcapabilities.service
+++ b/test/test-execute/exec-ambientcapabilities.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for AmbientCapabilities (daemon)
diff --git a/test/test-execute/exec-basic.service b/test/test-execute/exec-basic.service
index 60c5be6dc9..a54aca9dc3 100644
--- a/test/test-execute/exec-basic.service
+++ b/test/test-execute/exec-basic.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for basic execution
ConditionKernelVersion=">=3.0"
diff --git a/test/test-execute/exec-bindpaths.service b/test/test-execute/exec-bindpaths.service
index edab18bb0f..bf6968f3c1 100644
--- a/test/test-execute/exec-bindpaths.service
+++ b/test/test-execute/exec-bindpaths.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for BindPaths= and BindReadOnlyPaths=
diff --git a/test/test-execute/exec-capabilityboundingset-invert.service b/test/test-execute/exec-capabilityboundingset-invert.service
index 4486f6c25d..1b1217e094 100644
--- a/test/test-execute/exec-capabilityboundingset-invert.service
+++ b/test/test-execute/exec-capabilityboundingset-invert.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for CapabilityBoundingSet
diff --git a/test/test-execute/exec-capabilityboundingset-merge.service b/test/test-execute/exec-capabilityboundingset-merge.service
index 5c7fcaf437..1ed3ccbb25 100644
--- a/test/test-execute/exec-capabilityboundingset-merge.service
+++ b/test/test-execute/exec-capabilityboundingset-merge.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for CapabilityBoundingSet
diff --git a/test/test-execute/exec-capabilityboundingset-reset.service b/test/test-execute/exec-capabilityboundingset-reset.service
index d7d3320204..8eb142c64a 100644
--- a/test/test-execute/exec-capabilityboundingset-reset.service
+++ b/test/test-execute/exec-capabilityboundingset-reset.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for CapabilityBoundingSet
diff --git a/test/test-execute/exec-capabilityboundingset-simple.service b/test/test-execute/exec-capabilityboundingset-simple.service
index bf1a7f575a..be5a5e5b87 100644
--- a/test/test-execute/exec-capabilityboundingset-simple.service
+++ b/test/test-execute/exec-capabilityboundingset-simple.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for CapabilityBoundingSet
diff --git a/test/test-execute/exec-condition-failed.service b/test/test-execute/exec-condition-failed.service
index 4a406dc17f..342219cbea 100644
--- a/test/test-execute/exec-condition-failed.service
+++ b/test/test-execute/exec-condition-failed.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for exec condition that fails the unit
diff --git a/test/test-execute/exec-condition-skip.service b/test/test-execute/exec-condition-skip.service
index 9450e8442a..b69e161347 100644
--- a/test/test-execute/exec-condition-skip.service
+++ b/test/test-execute/exec-condition-skip.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for exec condition that triggers skipping
diff --git a/test/test-execute/exec-cpuaffinity1.service b/test/test-execute/exec-cpuaffinity1.service
index 84d550a385..2a8544acb1 100644
--- a/test/test-execute/exec-cpuaffinity1.service
+++ b/test/test-execute/exec-cpuaffinity1.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for CPUAffinity (simple)
diff --git a/test/test-execute/exec-cpuaffinity2.service b/test/test-execute/exec-cpuaffinity2.service
index 0dda77f939..bed48c822f 100644
--- a/test/test-execute/exec-cpuaffinity2.service
+++ b/test/test-execute/exec-cpuaffinity2.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for CPUAffinity (reset)
diff --git a/test/test-execute/exec-cpuaffinity3.service b/test/test-execute/exec-cpuaffinity3.service
index 4a45d3b2d5..774cd642cd 100644
--- a/test/test-execute/exec-cpuaffinity3.service
+++ b/test/test-execute/exec-cpuaffinity3.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for CPUAffinity (merge)
diff --git a/test/test-execute/exec-dynamicuser-fixeduser-adm.service b/test/test-execute/exec-dynamicuser-fixeduser-adm.service
index 90040ee533..daaed6c64c 100644
--- a/test/test-execute/exec-dynamicuser-fixeduser-adm.service
+++ b/test/test-execute/exec-dynamicuser-fixeduser-adm.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test DynamicUser with static User= whose uid and gid are different
# On Fedora, user adm has uid==3 and gid==4.
diff --git a/test/test-execute/exec-dynamicuser-fixeduser-games.service b/test/test-execute/exec-dynamicuser-fixeduser-games.service
index 1cc9518fc6..db8b88efdb 100644
--- a/test/test-execute/exec-dynamicuser-fixeduser-games.service
+++ b/test/test-execute/exec-dynamicuser-fixeduser-games.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test DynamicUser with static User= whose uid and gid are different
# On Ubuntu or Debian, user games has uid==5 and gid==60.
diff --git a/test/test-execute/exec-dynamicuser-fixeduser-one-supplementarygroup.service b/test/test-execute/exec-dynamicuser-fixeduser-one-supplementarygroup.service
index bd7881d286..0c2a218be0 100644
--- a/test/test-execute/exec-dynamicuser-fixeduser-one-supplementarygroup.service
+++ b/test/test-execute/exec-dynamicuser-fixeduser-one-supplementarygroup.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test DynamicUser with User= and SupplementaryGroups=
diff --git a/test/test-execute/exec-dynamicuser-fixeduser.service b/test/test-execute/exec-dynamicuser-fixeduser.service
index f28078f242..061bbd2b93 100644
--- a/test/test-execute/exec-dynamicuser-fixeduser.service
+++ b/test/test-execute/exec-dynamicuser-fixeduser.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test DynamicUser with User=
diff --git a/test/test-execute/exec-dynamicuser-runtimedirectory1.service b/test/test-execute/exec-dynamicuser-runtimedirectory1.service
index a3e566248d..790279ab17 100644
--- a/test/test-execute/exec-dynamicuser-runtimedirectory1.service
+++ b/test/test-execute/exec-dynamicuser-runtimedirectory1.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for RuntimeDirectory with RuntimeDirectoryPreserve=yes and DynamicUser=yes
diff --git a/test/test-execute/exec-dynamicuser-runtimedirectory2.service b/test/test-execute/exec-dynamicuser-runtimedirectory2.service
index d7af69907a..18df74e447 100644
--- a/test/test-execute/exec-dynamicuser-runtimedirectory2.service
+++ b/test/test-execute/exec-dynamicuser-runtimedirectory2.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for RuntimeDirectory with RuntimeDirectoryPreserve=yes and DynamicUser=yes 2nd trial
diff --git a/test/test-execute/exec-dynamicuser-runtimedirectory3.service b/test/test-execute/exec-dynamicuser-runtimedirectory3.service
index 1ea47ef6ea..831a808f90 100644
--- a/test/test-execute/exec-dynamicuser-runtimedirectory3.service
+++ b/test/test-execute/exec-dynamicuser-runtimedirectory3.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for RuntimeDirectory with DynamicUser=yes migrated from RuntimeDirectoryPreserve=yes
diff --git a/test/test-execute/exec-dynamicuser-statedir-migrate-step1.service b/test/test-execute/exec-dynamicuser-statedir-migrate-step1.service
index 5efc5483b8..1c79e4f722 100644
--- a/test/test-execute/exec-dynamicuser-statedir-migrate-step1.service
+++ b/test/test-execute/exec-dynamicuser-statedir-migrate-step1.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test DynamicUser= migrate StateDirectory= (preparation)
diff --git a/test/test-execute/exec-dynamicuser-statedir-migrate-step2.service b/test/test-execute/exec-dynamicuser-statedir-migrate-step2.service
index c72302ffd5..015b74ce22 100644
--- a/test/test-execute/exec-dynamicuser-statedir-migrate-step2.service
+++ b/test/test-execute/exec-dynamicuser-statedir-migrate-step2.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test DynamicUser= migrate StateDirectory=
diff --git a/test/test-execute/exec-dynamicuser-statedir.service b/test/test-execute/exec-dynamicuser-statedir.service
index 6103193ba3..2555142d7b 100644
--- a/test/test-execute/exec-dynamicuser-statedir.service
+++ b/test/test-execute/exec-dynamicuser-statedir.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test DynamicUser= with StateDirectory=
diff --git a/test/test-execute/exec-dynamicuser-supplementarygroups.service b/test/test-execute/exec-dynamicuser-supplementarygroups.service
index e3549c22c9..fb0b57bc00 100644
--- a/test/test-execute/exec-dynamicuser-supplementarygroups.service
+++ b/test/test-execute/exec-dynamicuser-supplementarygroups.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test DynamicUser with SupplementaryGroups=
diff --git a/test/test-execute/exec-environment-empty.service b/test/test-execute/exec-environment-empty.service
index 9c92d4bc81..6c3118643f 100644
--- a/test/test-execute/exec-environment-empty.service
+++ b/test/test-execute/exec-environment-empty.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for Environment
diff --git a/test/test-execute/exec-environment-multiple.service b/test/test-execute/exec-environment-multiple.service
index b9bc225635..d9b8d22667 100644
--- a/test/test-execute/exec-environment-multiple.service
+++ b/test/test-execute/exec-environment-multiple.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for Environment
diff --git a/test/test-execute/exec-environment-no-substitute.service b/test/test-execute/exec-environment-no-substitute.service
index 6a2e60ec24..b5cb2a4445 100644
--- a/test/test-execute/exec-environment-no-substitute.service
+++ b/test/test-execute/exec-environment-no-substitute.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for No Environment Variable Substitution
diff --git a/test/test-execute/exec-environment.service b/test/test-execute/exec-environment.service
index 06e77af220..5655be0a22 100644
--- a/test/test-execute/exec-environment.service
+++ b/test/test-execute/exec-environment.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for Environment
diff --git a/test/test-execute/exec-environmentfile.service b/test/test-execute/exec-environmentfile.service
index 9bcb133aec..4ad5a9bb3b 100644
--- a/test/test-execute/exec-environmentfile.service
+++ b/test/test-execute/exec-environmentfile.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for EnvironmentFile
diff --git a/test/test-execute/exec-execsearchpath-environment-path-set.service b/test/test-execute/exec-execsearchpath-environment-path-set.service
index dd27de84a8..5969cc6764 100644
--- a/test/test-execute/exec-execsearchpath-environment-path-set.service
+++ b/test/test-execute/exec-execsearchpath-environment-path-set.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Service]
ExecStart=/bin/sh -x -c 'test "$$PATH" = "/usr" && test "$$VAR1" = word3 && test "$$VAR2" = "\\$$word 5 6"'
Type=oneshot
diff --git a/test/test-execute/exec-execsearchpath-environment.service b/test/test-execute/exec-execsearchpath-environment.service
index ba477fbdcd..b0fa6a36e4 100644
--- a/test/test-execute/exec-execsearchpath-environment.service
+++ b/test/test-execute/exec-execsearchpath-environment.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Service]
ExecStart=/bin/sh -x -c 'test "$$VAR1" = "word1 word2" && test "$$VAR2" = word3 && test "$$VAR3" = "\\$$word 5 6" && test "$$PATH" = "/tmp:/bin"'
Type=oneshot
diff --git a/test/test-execute/exec-execsearchpath-environmentfile-set.service b/test/test-execute/exec-execsearchpath-environmentfile-set.service
index 45877b1d12..5f55a4b934 100644
--- a/test/test-execute/exec-execsearchpath-environmentfile-set.service
+++ b/test/test-execute/exec-execsearchpath-environmentfile-set.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for ExecSearchPath with EnvironmentFile where EnvironmentFile sets PATH
diff --git a/test/test-execute/exec-execsearchpath-environmentfile.service b/test/test-execute/exec-execsearchpath-environmentfile.service
index 65a04e7dbe..b8335bcf97 100644
--- a/test/test-execute/exec-execsearchpath-environmentfile.service
+++ b/test/test-execute/exec-execsearchpath-environmentfile.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for ExecSearchPath with EnvironmentFile where EnvironmentFile does not set PATH
diff --git a/test/test-execute/exec-execsearchpath-passenvironment-set.service b/test/test-execute/exec-execsearchpath-passenvironment-set.service
index 62c7742b10..a1511616e2 100644
--- a/test/test-execute/exec-execsearchpath-passenvironment-set.service
+++ b/test/test-execute/exec-execsearchpath-passenvironment-set.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for PassEnvironment with ExecSearchPath with PATH set by user
diff --git a/test/test-execute/exec-execsearchpath-passenvironment.service b/test/test-execute/exec-execsearchpath-passenvironment.service
index 83eb0d680a..d8a41c1ed7 100644
--- a/test/test-execute/exec-execsearchpath-passenvironment.service
+++ b/test/test-execute/exec-execsearchpath-passenvironment.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for PassEnvironment with ExecSearchPath with PATH not set by user
diff --git a/test/test-execute/exec-execsearchpath-unit-specifier.service b/test/test-execute/exec-execsearchpath-unit-specifier.service
index 740bab1d41..30d6b3280d 100644
--- a/test/test-execute/exec-execsearchpath-unit-specifier.service
+++ b/test/test-execute/exec-execsearchpath-unit-specifier.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for specifiers with exec search path
diff --git a/test/test-execute/exec-execsearchpath.service b/test/test-execute/exec-execsearchpath.service
index 67b71709f3..150afe2fcc 100644
--- a/test/test-execute/exec-execsearchpath.service
+++ b/test/test-execute/exec-execsearchpath.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Service]
ExecStart=ls_temp
Type=oneshot
diff --git a/test/test-execute/exec-group-nfsnobody.service b/test/test-execute/exec-group-nfsnobody.service
index e02100a869..a1e59c5d11 100644
--- a/test/test-execute/exec-group-nfsnobody.service
+++ b/test/test-execute/exec-group-nfsnobody.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for Group
diff --git a/test/test-execute/exec-group-nobody.service b/test/test-execute/exec-group-nobody.service
index be7c796912..58dce1e3d6 100644
--- a/test/test-execute/exec-group-nobody.service
+++ b/test/test-execute/exec-group-nobody.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for Group
diff --git a/test/test-execute/exec-group-nogroup.service b/test/test-execute/exec-group-nogroup.service
index cf0773229e..7f16729890 100644
--- a/test/test-execute/exec-group-nogroup.service
+++ b/test/test-execute/exec-group-nogroup.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for Group
diff --git a/test/test-execute/exec-group.service b/test/test-execute/exec-group.service
index be55992395..9f21557d82 100644
--- a/test/test-execute/exec-group.service
+++ b/test/test-execute/exec-group.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for Group (daemon)
diff --git a/test/test-execute/exec-ignoresigpipe-no.service b/test/test-execute/exec-ignoresigpipe-no.service
index 73addf5f05..e97248109d 100644
--- a/test/test-execute/exec-ignoresigpipe-no.service
+++ b/test/test-execute/exec-ignoresigpipe-no.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for IgnoreSIGPIPE=no
diff --git a/test/test-execute/exec-ignoresigpipe-yes.service b/test/test-execute/exec-ignoresigpipe-yes.service
index f81c01719e..ee3aa9a2b3 100644
--- a/test/test-execute/exec-ignoresigpipe-yes.service
+++ b/test/test-execute/exec-ignoresigpipe-yes.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for IgnoreSIGPIPE=yes
diff --git a/test/test-execute/exec-inaccessiblepaths-mount-propagation.service b/test/test-execute/exec-inaccessiblepaths-mount-propagation.service
index 430a6b78c2..520bc539b0 100644
--- a/test/test-execute/exec-inaccessiblepaths-mount-propagation.service
+++ b/test/test-execute/exec-inaccessiblepaths-mount-propagation.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test to make sure that InaccessiblePaths= disconnect mount propagation
diff --git a/test/test-execute/exec-inaccessiblepaths-sys.service b/test/test-execute/exec-inaccessiblepaths-sys.service
index 5ff6f3605b..0d64aa19c8 100644
--- a/test/test-execute/exec-inaccessiblepaths-sys.service
+++ b/test/test-execute/exec-inaccessiblepaths-sys.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test to make sure that mount namespace setup works properly with the 'InaccessiblePaths=/proc' option
diff --git a/test/test-execute/exec-ioschedulingclass-best-effort.service b/test/test-execute/exec-ioschedulingclass-best-effort.service
index 29bb8510b4..3b946b7855 100644
--- a/test/test-execute/exec-ioschedulingclass-best-effort.service
+++ b/test/test-execute/exec-ioschedulingclass-best-effort.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for IOSchedulingClass=best-effort
diff --git a/test/test-execute/exec-ioschedulingclass-idle.service b/test/test-execute/exec-ioschedulingclass-idle.service
index 87dbed14c1..b1e64bbbc1 100644
--- a/test/test-execute/exec-ioschedulingclass-idle.service
+++ b/test/test-execute/exec-ioschedulingclass-idle.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for IOSchedulingClass=idle
diff --git a/test/test-execute/exec-ioschedulingclass-none.service b/test/test-execute/exec-ioschedulingclass-none.service
index b6af122a1e..efe3182261 100644
--- a/test/test-execute/exec-ioschedulingclass-none.service
+++ b/test/test-execute/exec-ioschedulingclass-none.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for IOSchedulingClass=none
diff --git a/test/test-execute/exec-ioschedulingclass-realtime.service b/test/test-execute/exec-ioschedulingclass-realtime.service
index d920d5c687..ef8e2eb7f1 100644
--- a/test/test-execute/exec-ioschedulingclass-realtime.service
+++ b/test/test-execute/exec-ioschedulingclass-realtime.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for IOSchedulingClass=realtime
diff --git a/test/test-execute/exec-mount-apivfs-no.service b/test/test-execute/exec-mount-apivfs-no.service
index 0cf1f332e6..3fec1b726f 100644
--- a/test/test-execute/exec-mount-apivfs-no.service
+++ b/test/test-execute/exec-mount-apivfs-no.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for find_executable() with MountAPIVFS=no
diff --git a/test/test-execute/exec-noexecpaths-simple.service b/test/test-execute/exec-noexecpaths-simple.service
index 45152a26f0..5d954da6ac 100644
--- a/test/test-execute/exec-noexecpaths-simple.service
+++ b/test/test-execute/exec-noexecpaths-simple.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for NoExecPaths=
diff --git a/test/test-execute/exec-oomscoreadjust-negative.service b/test/test-execute/exec-oomscoreadjust-negative.service
index 2234c53c3f..25b5f1ffcc 100644
--- a/test/test-execute/exec-oomscoreadjust-negative.service
+++ b/test/test-execute/exec-oomscoreadjust-negative.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for OOMScoreAdjust
diff --git a/test/test-execute/exec-oomscoreadjust-positive.service b/test/test-execute/exec-oomscoreadjust-positive.service
index 456a8f80cf..ea6c23f78e 100644
--- a/test/test-execute/exec-oomscoreadjust-positive.service
+++ b/test/test-execute/exec-oomscoreadjust-positive.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for OOMScoreAdjust
diff --git a/test/test-execute/exec-passenvironment-absent.service b/test/test-execute/exec-passenvironment-absent.service
index d257e48cda..6b19a12bb7 100644
--- a/test/test-execute/exec-passenvironment-absent.service
+++ b/test/test-execute/exec-passenvironment-absent.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for PassEnvironment with variables absent from the execution environment
diff --git a/test/test-execute/exec-passenvironment-empty.service b/test/test-execute/exec-passenvironment-empty.service
index 291259a347..6ffc5e7de6 100644
--- a/test/test-execute/exec-passenvironment-empty.service
+++ b/test/test-execute/exec-passenvironment-empty.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for PassEnvironment and erasing the variable list
diff --git a/test/test-execute/exec-passenvironment-repeated.service b/test/test-execute/exec-passenvironment-repeated.service
index e88699802f..b8e904fb6d 100644
--- a/test/test-execute/exec-passenvironment-repeated.service
+++ b/test/test-execute/exec-passenvironment-repeated.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for PassEnvironment with a variable name repeated
diff --git a/test/test-execute/exec-passenvironment.service b/test/test-execute/exec-passenvironment.service
index 05c1bdfe88..b69592ad6a 100644
--- a/test/test-execute/exec-passenvironment.service
+++ b/test/test-execute/exec-passenvironment.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for PassEnvironment
diff --git a/test/test-execute/exec-personality-aarch64.service b/test/test-execute/exec-personality-aarch64.service
index 8511174411..0783a87364 100644
--- a/test/test-execute/exec-personality-aarch64.service
+++ b/test/test-execute/exec-personality-aarch64.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for Personality=aarch64
diff --git a/test/test-execute/exec-personality-ppc64.service b/test/test-execute/exec-personality-ppc64.service
index ccc2c8d83d..72f063a59c 100644
--- a/test/test-execute/exec-personality-ppc64.service
+++ b/test/test-execute/exec-personality-ppc64.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for Personality=ppc64
diff --git a/test/test-execute/exec-personality-ppc64le.service b/test/test-execute/exec-personality-ppc64le.service
index 2a7625087d..5e38029c05 100644
--- a/test/test-execute/exec-personality-ppc64le.service
+++ b/test/test-execute/exec-personality-ppc64le.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for Personality=ppc64le
diff --git a/test/test-execute/exec-personality-s390.service b/test/test-execute/exec-personality-s390.service
index 89f7de89d0..439dc5fea8 100644
--- a/test/test-execute/exec-personality-s390.service
+++ b/test/test-execute/exec-personality-s390.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for Personality=s390
diff --git a/test/test-execute/exec-personality-x86-64.service b/test/test-execute/exec-personality-x86-64.service
index 433e69a6d1..c6a0a4061c 100644
--- a/test/test-execute/exec-personality-x86-64.service
+++ b/test/test-execute/exec-personality-x86-64.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for Personality=x86-64
diff --git a/test/test-execute/exec-personality-x86.service b/test/test-execute/exec-personality-x86.service
index 4ece7de718..8b820b31c6 100644
--- a/test/test-execute/exec-personality-x86.service
+++ b/test/test-execute/exec-personality-x86.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for Personality=x86
diff --git a/test/test-execute/exec-privatedevices-disabled-by-prefix.service b/test/test-execute/exec-privatedevices-disabled-by-prefix.service
index 19b1da5240..021cadff52 100644
--- a/test/test-execute/exec-privatedevices-disabled-by-prefix.service
+++ b/test/test-execute/exec-privatedevices-disabled-by-prefix.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for PrivateDevices=yes with prefix
diff --git a/test/test-execute/exec-privatedevices-no-capability-mknod.service b/test/test-execute/exec-privatedevices-no-capability-mknod.service
index 8f135be0b5..a07e822841 100644
--- a/test/test-execute/exec-privatedevices-no-capability-mknod.service
+++ b/test/test-execute/exec-privatedevices-no-capability-mknod.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test CAP_MKNOD capability for PrivateDevices=no
diff --git a/test/test-execute/exec-privatedevices-no-capability-sys-rawio.service b/test/test-execute/exec-privatedevices-no-capability-sys-rawio.service
index 30ce549254..b0ce2d409c 100644
--- a/test/test-execute/exec-privatedevices-no-capability-sys-rawio.service
+++ b/test/test-execute/exec-privatedevices-no-capability-sys-rawio.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test CAP_SYS_RAWIO capability for PrivateDevices=no
diff --git a/test/test-execute/exec-privatedevices-no.service b/test/test-execute/exec-privatedevices-no.service
index 4ddbf189b7..31a5e3c72b 100644
--- a/test/test-execute/exec-privatedevices-no.service
+++ b/test/test-execute/exec-privatedevices-no.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for PrivateDevices=no
diff --git a/test/test-execute/exec-privatedevices-yes-capability-mknod.service b/test/test-execute/exec-privatedevices-yes-capability-mknod.service
index b98cfb5c7e..f798f31670 100644
--- a/test/test-execute/exec-privatedevices-yes-capability-mknod.service
+++ b/test/test-execute/exec-privatedevices-yes-capability-mknod.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test CAP_MKNOD capability for PrivateDevices=yes
diff --git a/test/test-execute/exec-privatedevices-yes-capability-sys-rawio.service b/test/test-execute/exec-privatedevices-yes-capability-sys-rawio.service
index 5b0c0700f2..d902c234e2 100644
--- a/test/test-execute/exec-privatedevices-yes-capability-sys-rawio.service
+++ b/test/test-execute/exec-privatedevices-yes-capability-sys-rawio.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test CAP_SYS_RAWIO capability for PrivateDevices=yes
diff --git a/test/test-execute/exec-privatedevices-yes-with-group.service b/test/test-execute/exec-privatedevices-yes-with-group.service
index 70a7ed24f4..a39ae0f846 100644
--- a/test/test-execute/exec-privatedevices-yes-with-group.service
+++ b/test/test-execute/exec-privatedevices-yes-with-group.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test Group=group is applied after PrivateDevices=yes
diff --git a/test/test-execute/exec-privatedevices-yes.service b/test/test-execute/exec-privatedevices-yes.service
index 3516667207..564e958925 100644
--- a/test/test-execute/exec-privatedevices-yes.service
+++ b/test/test-execute/exec-privatedevices-yes.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for PrivateDevices=yes
diff --git a/test/test-execute/exec-privatenetwork-yes.service b/test/test-execute/exec-privatenetwork-yes.service
index 8f5cbadf04..0fff048b94 100644
--- a/test/test-execute/exec-privatenetwork-yes.service
+++ b/test/test-execute/exec-privatenetwork-yes.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for PrivateNetwork
diff --git a/test/test-execute/exec-privatetmp-disabled-by-prefix.service b/test/test-execute/exec-privatetmp-disabled-by-prefix.service
index 009e6bef95..f67afee101 100644
--- a/test/test-execute/exec-privatetmp-disabled-by-prefix.service
+++ b/test/test-execute/exec-privatetmp-disabled-by-prefix.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for PrivateTmp=yes with prefix
diff --git a/test/test-execute/exec-privatetmp-no.service b/test/test-execute/exec-privatetmp-no.service
index 59f60f4755..6a8a3fc319 100644
--- a/test/test-execute/exec-privatetmp-no.service
+++ b/test/test-execute/exec-privatetmp-no.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for PrivateTmp=no
diff --git a/test/test-execute/exec-privatetmp-yes.service b/test/test-execute/exec-privatetmp-yes.service
index 907c291b81..6395be0842 100644
--- a/test/test-execute/exec-privatetmp-yes.service
+++ b/test/test-execute/exec-privatetmp-yes.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for PrivateTmp=yes
diff --git a/test/test-execute/exec-protecthome-tmpfs-vs-protectsystem-strict.service b/test/test-execute/exec-protecthome-tmpfs-vs-protectsystem-strict.service
index 1522ff80e1..f84e6b6f03 100644
--- a/test/test-execute/exec-protecthome-tmpfs-vs-protectsystem-strict.service
+++ b/test/test-execute/exec-protecthome-tmpfs-vs-protectsystem-strict.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test ProtectHome=tmpfs vs ProtectSystem=strict
# Test for #11276
diff --git a/test/test-execute/exec-protectkernellogs-no-capabilities.service b/test/test-execute/exec-protectkernellogs-no-capabilities.service
index 36aae7caf1..5478962755 100644
--- a/test/test-execute/exec-protectkernellogs-no-capabilities.service
+++ b/test/test-execute/exec-protectkernellogs-no-capabilities.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test CAP_SYSLOG for ProtectKernelLogs=no
diff --git a/test/test-execute/exec-protectkernellogs-yes-capabilities.service b/test/test-execute/exec-protectkernellogs-yes-capabilities.service
index 4a5f1a08e9..6fe12410d9 100644
--- a/test/test-execute/exec-protectkernellogs-yes-capabilities.service
+++ b/test/test-execute/exec-protectkernellogs-yes-capabilities.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test CAP_SYSLOG for ProtectKernelLogs=yes
diff --git a/test/test-execute/exec-protectkernelmodules-no-capabilities.service b/test/test-execute/exec-protectkernelmodules-no-capabilities.service
index 1b73656305..7236af2b24 100644
--- a/test/test-execute/exec-protectkernelmodules-no-capabilities.service
+++ b/test/test-execute/exec-protectkernelmodules-no-capabilities.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test CAP_SYS_MODULE ProtectKernelModules=no
diff --git a/test/test-execute/exec-protectkernelmodules-yes-capabilities.service b/test/test-execute/exec-protectkernelmodules-yes-capabilities.service
index e43e72733c..e40160daf5 100644
--- a/test/test-execute/exec-protectkernelmodules-yes-capabilities.service
+++ b/test/test-execute/exec-protectkernelmodules-yes-capabilities.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test CAP_SYS_MODULE for ProtectKernelModules=yes
diff --git a/test/test-execute/exec-protectkernelmodules-yes-mount-propagation.service b/test/test-execute/exec-protectkernelmodules-yes-mount-propagation.service
index 07758121cd..0ecf1a2b6c 100644
--- a/test/test-execute/exec-protectkernelmodules-yes-mount-propagation.service
+++ b/test/test-execute/exec-protectkernelmodules-yes-mount-propagation.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test to make sure that passing ProtectKernelModules=yes disconnect mount propagation
diff --git a/test/test-execute/exec-readonlypaths-mount-propagation.service b/test/test-execute/exec-readonlypaths-mount-propagation.service
index 7edb0daa36..abc180b3b3 100644
--- a/test/test-execute/exec-readonlypaths-mount-propagation.service
+++ b/test/test-execute/exec-readonlypaths-mount-propagation.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test to make sure that passing ReadOnlyPaths= disconnect mount propagation
diff --git a/test/test-execute/exec-readonlypaths-simple.service b/test/test-execute/exec-readonlypaths-simple.service
index a9a715905c..5587e8dce7 100644
--- a/test/test-execute/exec-readonlypaths-simple.service
+++ b/test/test-execute/exec-readonlypaths-simple.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for ReadOnlyPaths=
diff --git a/test/test-execute/exec-readonlypaths-with-bindpaths.service b/test/test-execute/exec-readonlypaths-with-bindpaths.service
index 438c7de704..71c7e7b926 100644
--- a/test/test-execute/exec-readonlypaths-with-bindpaths.service
+++ b/test/test-execute/exec-readonlypaths-with-bindpaths.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for ReadOnlyPaths=
diff --git a/test/test-execute/exec-readonlypaths.service b/test/test-execute/exec-readonlypaths.service
index a0ca68f67d..21814c2f26 100644
--- a/test/test-execute/exec-readonlypaths.service
+++ b/test/test-execute/exec-readonlypaths.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for ReadOnlyPaths=
diff --git a/test/test-execute/exec-readwritepaths-mount-propagation.service b/test/test-execute/exec-readwritepaths-mount-propagation.service
index b38978df42..35e736f742 100644
--- a/test/test-execute/exec-readwritepaths-mount-propagation.service
+++ b/test/test-execute/exec-readwritepaths-mount-propagation.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test to make sure that passing ReadWritePaths= disconnect mount propagation
diff --git a/test/test-execute/exec-restrictnamespaces-merge-all.service b/test/test-execute/exec-restrictnamespaces-merge-all.service
index de98cd0a2e..1270b60e0b 100644
--- a/test/test-execute/exec-restrictnamespaces-merge-all.service
+++ b/test/test-execute/exec-restrictnamespaces-merge-all.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test merging RestrictNamespaces= with all flags
diff --git a/test/test-execute/exec-restrictnamespaces-merge-and.service b/test/test-execute/exec-restrictnamespaces-merge-and.service
index 6702e6aab2..fdeb3f140d 100644
--- a/test/test-execute/exec-restrictnamespaces-merge-and.service
+++ b/test/test-execute/exec-restrictnamespaces-merge-and.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test merging RestrictNamespaces= with AND
diff --git a/test/test-execute/exec-restrictnamespaces-merge-or.service b/test/test-execute/exec-restrictnamespaces-merge-or.service
index a52455204d..fca3718c9d 100644
--- a/test/test-execute/exec-restrictnamespaces-merge-or.service
+++ b/test/test-execute/exec-restrictnamespaces-merge-or.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test merging RestrictNamespaces= with OR
diff --git a/test/test-execute/exec-restrictnamespaces-mnt-deny-list.service b/test/test-execute/exec-restrictnamespaces-mnt-deny-list.service
index 7756a2575e..b257afb2b5 100644
--- a/test/test-execute/exec-restrictnamespaces-mnt-deny-list.service
+++ b/test/test-execute/exec-restrictnamespaces-mnt-deny-list.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test RestrictNamespaces=~mnt
diff --git a/test/test-execute/exec-restrictnamespaces-mnt.service b/test/test-execute/exec-restrictnamespaces-mnt.service
index 2c5b942601..cb28c0c2e6 100644
--- a/test/test-execute/exec-restrictnamespaces-mnt.service
+++ b/test/test-execute/exec-restrictnamespaces-mnt.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test RestrictNamespaces=mnt
diff --git a/test/test-execute/exec-restrictnamespaces-no.service b/test/test-execute/exec-restrictnamespaces-no.service
index 5ffe081e45..035c8b5bee 100644
--- a/test/test-execute/exec-restrictnamespaces-no.service
+++ b/test/test-execute/exec-restrictnamespaces-no.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test RestrictNamespaces=no
diff --git a/test/test-execute/exec-restrictnamespaces-yes.service b/test/test-execute/exec-restrictnamespaces-yes.service
index 8e077ed3a0..f9436d29f7 100644
--- a/test/test-execute/exec-restrictnamespaces-yes.service
+++ b/test/test-execute/exec-restrictnamespaces-yes.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test RestrictNamespaces=yes
diff --git a/test/test-execute/exec-runtimedirectory-mode.service b/test/test-execute/exec-runtimedirectory-mode.service
index 85ae5161c4..580bac94ea 100644
--- a/test/test-execute/exec-runtimedirectory-mode.service
+++ b/test/test-execute/exec-runtimedirectory-mode.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for RuntimeDirectoryMode
diff --git a/test/test-execute/exec-runtimedirectory-owner-nfsnobody.service b/test/test-execute/exec-runtimedirectory-owner-nfsnobody.service
index 1e3b6b4151..79bebc4616 100644
--- a/test/test-execute/exec-runtimedirectory-owner-nfsnobody.service
+++ b/test/test-execute/exec-runtimedirectory-owner-nfsnobody.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for RuntimeDirectory owner (must not be the default group of the user if Group is set)
diff --git a/test/test-execute/exec-runtimedirectory-owner-nobody.service b/test/test-execute/exec-runtimedirectory-owner-nobody.service
index 54782f9bbd..3b42a9fc41 100644
--- a/test/test-execute/exec-runtimedirectory-owner-nobody.service
+++ b/test/test-execute/exec-runtimedirectory-owner-nobody.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for RuntimeDirectory owner (must not be the default group of the user if Group is set)
diff --git a/test/test-execute/exec-runtimedirectory-owner-nogroup.service b/test/test-execute/exec-runtimedirectory-owner-nogroup.service
index 663afe1188..804048ea05 100644
--- a/test/test-execute/exec-runtimedirectory-owner-nogroup.service
+++ b/test/test-execute/exec-runtimedirectory-owner-nogroup.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for RuntimeDirectory owner (must not be the default group of the user if Group is set)
diff --git a/test/test-execute/exec-runtimedirectory-owner.service b/test/test-execute/exec-runtimedirectory-owner.service
index 07dd7ca3af..e2c0890b00 100644
--- a/test/test-execute/exec-runtimedirectory-owner.service
+++ b/test/test-execute/exec-runtimedirectory-owner.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for RuntimeDirectory owner (must not be the default group of the user if Group is set)
diff --git a/test/test-execute/exec-runtimedirectory.service b/test/test-execute/exec-runtimedirectory.service
index a33044d23c..1928c57ace 100644
--- a/test/test-execute/exec-runtimedirectory.service
+++ b/test/test-execute/exec-runtimedirectory.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for RuntimeDirectory
diff --git a/test/test-execute/exec-specifier-interpolation.service b/test/test-execute/exec-specifier-interpolation.service
index f128e3c4b3..4cb1b06518 100644
--- a/test/test-execute/exec-specifier-interpolation.service
+++ b/test/test-execute/exec-specifier-interpolation.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=https://github.com/systemd/systemd/issues/2637
diff --git a/test/test-execute/exec-specifier.service b/test/test-execute/exec-specifier.service
index a58abc68dd..190ebe93e6 100644
--- a/test/test-execute/exec-specifier.service
+++ b/test/test-execute/exec-specifier.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for specifiers
diff --git a/test/test-execute/exec-specifier@.service b/test/test-execute/exec-specifier@.service
index faecbf37bc..5e30efce4c 100644
--- a/test/test-execute/exec-specifier@.service
+++ b/test/test-execute/exec-specifier@.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for specifiers (template unit)
diff --git a/test/test-execute/exec-standardinput-data.service b/test/test-execute/exec-standardinput-data.service
index 1ca536ffc5..83db6098c0 100644
--- a/test/test-execute/exec-standardinput-data.service
+++ b/test/test-execute/exec-standardinput-data.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for StandardInputText= and StandardInputData=
diff --git a/test/test-execute/exec-standardinput-file-cat.service b/test/test-execute/exec-standardinput-file-cat.service
index a0c786c301..b115a6d8d4 100644
--- a/test/test-execute/exec-standardinput-file-cat.service
+++ b/test/test-execute/exec-standardinput-file-cat.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for StandardInput=file:
diff --git a/test/test-execute/exec-standardinput-file.service b/test/test-execute/exec-standardinput-file.service
index 8fd11caf8e..618ae7dd1f 100644
--- a/test/test-execute/exec-standardinput-file.service
+++ b/test/test-execute/exec-standardinput-file.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for StandardInput=file:
diff --git a/test/test-execute/exec-standardoutput-append.service b/test/test-execute/exec-standardoutput-append.service
index 2118bfc2a6..45d29ecfdd 100644
--- a/test/test-execute/exec-standardoutput-append.service
+++ b/test/test-execute/exec-standardoutput-append.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for StandardOutput=append:
diff --git a/test/test-execute/exec-standardoutput-file.service b/test/test-execute/exec-standardoutput-file.service
index 8d484a456e..8b689a2494 100644
--- a/test/test-execute/exec-standardoutput-file.service
+++ b/test/test-execute/exec-standardoutput-file.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for StandardOutput=file:
diff --git a/test/test-execute/exec-standardoutput-truncate.service b/test/test-execute/exec-standardoutput-truncate.service
index 8d6ea2769f..1a86d92d8b 100644
--- a/test/test-execute/exec-standardoutput-truncate.service
+++ b/test/test-execute/exec-standardoutput-truncate.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for StandardOutput=truncate:
diff --git a/test/test-execute/exec-supplementarygroups-multiple-groups-default-group-user.service b/test/test-execute/exec-supplementarygroups-multiple-groups-default-group-user.service
index 2a7ce87bb4..362e539287 100644
--- a/test/test-execute/exec-supplementarygroups-multiple-groups-default-group-user.service
+++ b/test/test-execute/exec-supplementarygroups-multiple-groups-default-group-user.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for Supplementary Group with multiple groups without Group and User
diff --git a/test/test-execute/exec-supplementarygroups-multiple-groups-withgid.service b/test/test-execute/exec-supplementarygroups-multiple-groups-withgid.service
index aae20fbf95..ff3fdc8142 100644
--- a/test/test-execute/exec-supplementarygroups-multiple-groups-withgid.service
+++ b/test/test-execute/exec-supplementarygroups-multiple-groups-withgid.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for Supplementary Group with multiple groups and Group=1
diff --git a/test/test-execute/exec-supplementarygroups-multiple-groups-withuid.service b/test/test-execute/exec-supplementarygroups-multiple-groups-withuid.service
index 2714235be6..f35ff84765 100644
--- a/test/test-execute/exec-supplementarygroups-multiple-groups-withuid.service
+++ b/test/test-execute/exec-supplementarygroups-multiple-groups-withuid.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for Supplementary Group with multiple groups and Uid=1
diff --git a/test/test-execute/exec-supplementarygroups-single-group-user.service b/test/test-execute/exec-supplementarygroups-single-group-user.service
index 405c5f9bfe..aae71d0a30 100644
--- a/test/test-execute/exec-supplementarygroups-single-group-user.service
+++ b/test/test-execute/exec-supplementarygroups-single-group-user.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for Supplementary Group with only one group and uid 1
diff --git a/test/test-execute/exec-supplementarygroups-single-group.service b/test/test-execute/exec-supplementarygroups-single-group.service
index f9b721696b..c870774382 100644
--- a/test/test-execute/exec-supplementarygroups-single-group.service
+++ b/test/test-execute/exec-supplementarygroups-single-group.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for Supplementary Group with only one group
diff --git a/test/test-execute/exec-supplementarygroups.service b/test/test-execute/exec-supplementarygroups.service
index 6f6e2ba822..75601eab57 100644
--- a/test/test-execute/exec-supplementarygroups.service
+++ b/test/test-execute/exec-supplementarygroups.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for Supplementary Group
diff --git a/test/test-execute/exec-systemcallerrornumber-name.service b/test/test-execute/exec-systemcallerrornumber-name.service
index e167d2716b..f2be6003c8 100644
--- a/test/test-execute/exec-systemcallerrornumber-name.service
+++ b/test/test-execute/exec-systemcallerrornumber-name.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for SystemCallErrorNumber
diff --git a/test/test-execute/exec-systemcallerrornumber-number.service b/test/test-execute/exec-systemcallerrornumber-number.service
index 203215682f..5d99a97476 100644
--- a/test/test-execute/exec-systemcallerrornumber-number.service
+++ b/test/test-execute/exec-systemcallerrornumber-number.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for SystemCallErrorNumber
diff --git a/test/test-execute/exec-systemcallfilter-failing.service b/test/test-execute/exec-systemcallfilter-failing.service
index c4b0799031..3aad372900 100644
--- a/test/test-execute/exec-systemcallfilter-failing.service
+++ b/test/test-execute/exec-systemcallfilter-failing.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for SystemCallFilter
diff --git a/test/test-execute/exec-systemcallfilter-failing2.service b/test/test-execute/exec-systemcallfilter-failing2.service
index 452aaf8273..8cdb8de45b 100644
--- a/test/test-execute/exec-systemcallfilter-failing2.service
+++ b/test/test-execute/exec-systemcallfilter-failing2.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for SystemCallFilter
diff --git a/test/test-execute/exec-systemcallfilter-failing3.service b/test/test-execute/exec-systemcallfilter-failing3.service
index b8c96704d2..98c88fd0b1 100644
--- a/test/test-execute/exec-systemcallfilter-failing3.service
+++ b/test/test-execute/exec-systemcallfilter-failing3.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for SystemCallFilter
diff --git a/test/test-execute/exec-systemcallfilter-not-failing.service b/test/test-execute/exec-systemcallfilter-not-failing.service
index f3a752b3ef..c7eddea665 100644
--- a/test/test-execute/exec-systemcallfilter-not-failing.service
+++ b/test/test-execute/exec-systemcallfilter-not-failing.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for SystemCallFilter
diff --git a/test/test-execute/exec-systemcallfilter-not-failing2.service b/test/test-execute/exec-systemcallfilter-not-failing2.service
index 1df076ab90..96eaf16a45 100644
--- a/test/test-execute/exec-systemcallfilter-not-failing2.service
+++ b/test/test-execute/exec-systemcallfilter-not-failing2.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for SystemCallFilter
diff --git a/test/test-execute/exec-systemcallfilter-not-failing3.service b/test/test-execute/exec-systemcallfilter-not-failing3.service
index 7d72f5ab83..f8f4092844 100644
--- a/test/test-execute/exec-systemcallfilter-not-failing3.service
+++ b/test/test-execute/exec-systemcallfilter-not-failing3.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for SystemCallFilter
diff --git a/test/test-execute/exec-systemcallfilter-override-error-action.service b/test/test-execute/exec-systemcallfilter-override-error-action.service
index 3569b4500c..de2c6ad2d6 100644
--- a/test/test-execute/exec-systemcallfilter-override-error-action.service
+++ b/test/test-execute/exec-systemcallfilter-override-error-action.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for SystemCallFilter with specific kill action overriding default errno action
diff --git a/test/test-execute/exec-systemcallfilter-override-error-action2.service b/test/test-execute/exec-systemcallfilter-override-error-action2.service
index 04bfd6bfcb..ffa35e64df 100644
--- a/test/test-execute/exec-systemcallfilter-override-error-action2.service
+++ b/test/test-execute/exec-systemcallfilter-override-error-action2.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for SystemCallFilter with specific errno action overriding default kill action
diff --git a/test/test-execute/exec-systemcallfilter-system-user-nfsnobody.service b/test/test-execute/exec-systemcallfilter-system-user-nfsnobody.service
index b1195d0d25..deba1543b4 100644
--- a/test/test-execute/exec-systemcallfilter-system-user-nfsnobody.service
+++ b/test/test-execute/exec-systemcallfilter-system-user-nfsnobody.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for SystemCallFilter in system mode with User set
diff --git a/test/test-execute/exec-systemcallfilter-system-user-nobody.service b/test/test-execute/exec-systemcallfilter-system-user-nobody.service
index da129a30e4..43fb9c3395 100644
--- a/test/test-execute/exec-systemcallfilter-system-user-nobody.service
+++ b/test/test-execute/exec-systemcallfilter-system-user-nobody.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for SystemCallFilter in system mode with User set
diff --git a/test/test-execute/exec-systemcallfilter-system-user.service b/test/test-execute/exec-systemcallfilter-system-user.service
index 488a3bb79e..005c4ac1c8 100644
--- a/test/test-execute/exec-systemcallfilter-system-user.service
+++ b/test/test-execute/exec-systemcallfilter-system-user.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for SystemCallFilter in system mode with User set (daemon)
diff --git a/test/test-execute/exec-systemcallfilter-with-errno-in-allow-list.service b/test/test-execute/exec-systemcallfilter-with-errno-in-allow-list.service
index 4b2636eb44..c7a4c4a614 100644
--- a/test/test-execute/exec-systemcallfilter-with-errno-in-allow-list.service
+++ b/test/test-execute/exec-systemcallfilter-with-errno-in-allow-list.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for SystemCallFilter with errno name (for issue #18916)
diff --git a/test/test-execute/exec-systemcallfilter-with-errno-multi.service b/test/test-execute/exec-systemcallfilter-with-errno-multi.service
index 951e7ac36b..267832366f 100644
--- a/test/test-execute/exec-systemcallfilter-with-errno-multi.service
+++ b/test/test-execute/exec-systemcallfilter-with-errno-multi.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for SystemCallFilter updating errno
# test for issue #9939 which is fixed by a5404992cc7724ebf7572a0aa89d9fdb26ce0b62 (#9942)
diff --git a/test/test-execute/exec-systemcallfilter-with-errno-name.service b/test/test-execute/exec-systemcallfilter-with-errno-name.service
index 8380d5a155..a9023314ad 100644
--- a/test/test-execute/exec-systemcallfilter-with-errno-name.service
+++ b/test/test-execute/exec-systemcallfilter-with-errno-name.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for SystemCallFilter with errno name
diff --git a/test/test-execute/exec-systemcallfilter-with-errno-number.service b/test/test-execute/exec-systemcallfilter-with-errno-number.service
index dbb9540a1e..ffbc84a313 100644
--- a/test/test-execute/exec-systemcallfilter-with-errno-number.service
+++ b/test/test-execute/exec-systemcallfilter-with-errno-number.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for SystemCallFilter with errno number
diff --git a/test/test-execute/exec-temporaryfilesystem-options.service b/test/test-execute/exec-temporaryfilesystem-options.service
index 371e5674b1..1610c63a4a 100644
--- a/test/test-execute/exec-temporaryfilesystem-options.service
+++ b/test/test-execute/exec-temporaryfilesystem-options.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for TemporaryFileSystem with mount options
diff --git a/test/test-execute/exec-temporaryfilesystem-ro.service b/test/test-execute/exec-temporaryfilesystem-ro.service
index c161aecc30..2ee5c269f9 100644
--- a/test/test-execute/exec-temporaryfilesystem-ro.service
+++ b/test/test-execute/exec-temporaryfilesystem-ro.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for TemporaryFileSystem with read-only mode
diff --git a/test/test-execute/exec-temporaryfilesystem-rw.service b/test/test-execute/exec-temporaryfilesystem-rw.service
index bb830595bc..ff0aa048d4 100644
--- a/test/test-execute/exec-temporaryfilesystem-rw.service
+++ b/test/test-execute/exec-temporaryfilesystem-rw.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for TemporaryFileSystem
diff --git a/test/test-execute/exec-temporaryfilesystem-usr.service b/test/test-execute/exec-temporaryfilesystem-usr.service
index 05c1ec0694..f62ce1a852 100644
--- a/test/test-execute/exec-temporaryfilesystem-usr.service
+++ b/test/test-execute/exec-temporaryfilesystem-usr.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for TemporaryFileSystem on /usr
diff --git a/test/test-execute/exec-umask-0177.service b/test/test-execute/exec-umask-0177.service
index c18293e403..380cb8234a 100644
--- a/test/test-execute/exec-umask-0177.service
+++ b/test/test-execute/exec-umask-0177.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for UMask
diff --git a/test/test-execute/exec-umask-default.service b/test/test-execute/exec-umask-default.service
index bf0573dd42..b28023d8a9 100644
--- a/test/test-execute/exec-umask-default.service
+++ b/test/test-execute/exec-umask-default.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for UMask default
diff --git a/test/test-execute/exec-unsetenvironment.service b/test/test-execute/exec-unsetenvironment.service
index 5b0123b81e..b79e3d42c7 100644
--- a/test/test-execute/exec-unsetenvironment.service
+++ b/test/test-execute/exec-unsetenvironment.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for UnsetEnvironment
diff --git a/test/test-execute/exec-user-nfsnobody.service b/test/test-execute/exec-user-nfsnobody.service
index aafda3aa26..8f0943c282 100644
--- a/test/test-execute/exec-user-nfsnobody.service
+++ b/test/test-execute/exec-user-nfsnobody.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for User
diff --git a/test/test-execute/exec-user-nobody.service b/test/test-execute/exec-user-nobody.service
index 0a00c1abc4..834d11ad31 100644
--- a/test/test-execute/exec-user-nobody.service
+++ b/test/test-execute/exec-user-nobody.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for User
diff --git a/test/test-execute/exec-user.service b/test/test-execute/exec-user.service
index d315a828d4..b9863d2025 100644
--- a/test/test-execute/exec-user.service
+++ b/test/test-execute/exec-user.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for User (daemon)
diff --git a/test/test-execute/exec-workingdirectory-trailing-dot.service b/test/test-execute/exec-workingdirectory-trailing-dot.service
index 5c807b3172..130d9d5c50 100644
--- a/test/test-execute/exec-workingdirectory-trailing-dot.service
+++ b/test/test-execute/exec-workingdirectory-trailing-dot.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for WorkingDirectory with trailing dot
diff --git a/test/test-execute/exec-workingdirectory.service b/test/test-execute/exec-workingdirectory.service
index fe3c420d2d..b53bf6081f 100644
--- a/test/test-execute/exec-workingdirectory.service
+++ b/test/test-execute/exec-workingdirectory.service
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for WorkingDirectory