aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-acl-util.c1
-rw-r--r--src/test/test-af-list.c1
-rw-r--r--src/test/test-alloc-util.c1
-rw-r--r--src/test/test-architecture.c1
-rw-r--r--src/test/test-arphrd-list.c1
-rw-r--r--src/test/test-ask-password-api.c1
-rw-r--r--src/test/test-async.c1
-rw-r--r--src/test/test-barrier.c1
-rw-r--r--src/test/test-bitmap.c1
-rw-r--r--src/test/test-boot-timestamps.c1
-rw-r--r--src/test/test-bpf.c1
-rw-r--r--src/test/test-btrfs.c1
-rw-r--r--src/test/test-calendarspec.c1
-rw-r--r--src/test/test-cap-list.c1
-rw-r--r--src/test/test-capability.c1
-rw-r--r--src/test/test-cgroup-mask.c1
-rw-r--r--src/test/test-cgroup-util.c1
-rw-r--r--src/test/test-cgroup.c1
-rw-r--r--src/test/test-clock.c1
-rw-r--r--src/test/test-condition.c1
-rw-r--r--src/test/test-conf-files.c1
-rw-r--r--src/test/test-conf-parser.c1
-rw-r--r--src/test/test-copy.c1
-rw-r--r--src/test/test-cpu-set-util.c1
-rw-r--r--src/test/test-daemon.c1
-rw-r--r--src/test/test-date.c1
-rw-r--r--src/test/test-device-nodes.c1
-rw-r--r--src/test/test-dissect-image.c1
-rw-r--r--src/test/test-dlopen.c1
-rw-r--r--src/test/test-dns-domain.c1
-rw-r--r--src/test/test-ellipsize.c1
-rw-r--r--src/test/test-engine.c1
-rw-r--r--src/test/test-env-util.c1
-rw-r--r--src/test/test-escape.c1
-rw-r--r--src/test/test-exec-util.c1
-rw-r--r--src/test/test-execute.c1
-rw-r--r--src/test/test-extract-word.c1
-rw-r--r--src/test/test-fd-util.c1
-rw-r--r--src/test/test-fdset.c1
-rw-r--r--src/test/test-fileio.c1
-rw-r--r--src/test/test-firewall-util.c1
-rw-r--r--src/test/test-fs-util.c1
-rw-r--r--src/test/test-fstab-util.c1
-rw-r--r--src/test/test-glob-util.c1
-rw-r--r--src/test/test-hash.c1
-rw-r--r--src/test/test-hashmap-plain.c1
-rw-r--r--src/test/test-hashmap.c1
-rw-r--r--src/test/test-helper.c1
-rw-r--r--src/test/test-helper.h1
-rw-r--r--src/test/test-hexdecoct.c1
-rw-r--r--src/test/test-hostname-util.c1
-rw-r--r--src/test/test-hostname.c1
-rw-r--r--src/test/test-id128.c1
-rw-r--r--src/test/test-in-addr-util.c1
-rw-r--r--src/test/test-install-root.c1
-rw-r--r--src/test/test-install.c1
-rw-r--r--src/test/test-io-util.c1
-rw-r--r--src/test/test-ipcrm.c1
-rw-r--r--src/test/test-job-type.c1
-rw-r--r--src/test/test-journal-importer.c1
-rw-r--r--src/test/test-libudev.c1
-rw-r--r--src/test/test-list.c1
-rw-r--r--src/test/test-locale-util.c1
-rw-r--r--src/test/test-log.c1
-rw-r--r--src/test/test-loopback.c1
-rw-r--r--src/test/test-mount-util.c1
-rw-r--r--src/test/test-namespace.c1
-rw-r--r--src/test/test-netlink-manual.c1
-rw-r--r--src/test/test-ns.c1
-rw-r--r--src/test/test-nss.c1
-rw-r--r--src/test/test-parse-util.c1
-rw-r--r--src/test/test-path-lookup.c1
-rw-r--r--src/test/test-path-util.c1
-rw-r--r--src/test/test-path.c1
-rw-r--r--src/test/test-prioq.c1
-rw-r--r--src/test/test-proc-cmdline.c1
-rw-r--r--src/test/test-process-util.c1
-rw-r--r--src/test/test-random-util.c1
-rw-r--r--src/test/test-ratelimit.c1
-rw-r--r--src/test/test-replace-var.c1
-rw-r--r--src/test/test-rlimit-util.c1
-rw-r--r--src/test/test-sched-prio.c1
-rw-r--r--src/test/test-seccomp.c1
-rw-r--r--src/test/test-selinux.c1
-rw-r--r--src/test/test-set.c1
-rw-r--r--src/test/test-sigbus.c1
-rw-r--r--src/test/test-signal-util.c1
-rw-r--r--src/test/test-siphash24.c1
-rw-r--r--src/test/test-sizeof.c1
-rw-r--r--src/test/test-sleep.c1
-rw-r--r--src/test/test-socket-util.c1
-rw-r--r--src/test/test-stat-util.c1
-rw-r--r--src/test/test-strbuf.c1
-rw-r--r--src/test/test-string-util.c1
-rw-r--r--src/test/test-strip-tab-ansi.c1
-rw-r--r--src/test/test-strv.c1
-rw-r--r--src/test/test-strxcpyx.c1
-rw-r--r--src/test/test-tables.c1
-rw-r--r--src/test/test-terminal-util.c1
-rw-r--r--src/test/test-time-util.c1
-rw-r--r--src/test/test-tmpfiles.c1
-rw-r--r--src/test/test-udev.c1
-rw-r--r--src/test/test-uid-range.c1
-rw-r--r--src/test/test-unaligned.c1
-rw-r--r--src/test/test-unit-file.c1
-rw-r--r--src/test/test-unit-name.c1
-rw-r--r--src/test/test-user-util.c1
-rw-r--r--src/test/test-utf8.c1
-rw-r--r--src/test/test-util.c1
-rw-r--r--src/test/test-verbs.c1
-rw-r--r--src/test/test-watchdog.c1
-rw-r--r--src/test/test-web-util.c1
-rw-r--r--src/test/test-xattr-util.c1
-rw-r--r--src/test/test-xml.c1
114 files changed, 114 insertions, 0 deletions
diff --git a/src/test/test-acl-util.c b/src/test/test-acl-util.c
index 5b572bb0b..7b66e189b 100644
--- a/src/test/test-acl-util.c
+++ b/src/test/test-acl-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-af-list.c b/src/test/test-af-list.c
index bbaf18b08..693454928 100644
--- a/src/test/test-af-list.c
+++ b/src/test/test-af-list.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd
diff --git a/src/test/test-alloc-util.c b/src/test/test-alloc-util.c
index cc4821eaf..7e779ac56 100644
--- a/src/test/test-alloc-util.c
+++ b/src/test/test-alloc-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-architecture.c b/src/test/test-architecture.c
index 68975b790..e81799539 100644
--- a/src/test/test-architecture.c
+++ b/src/test/test-architecture.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-arphrd-list.c b/src/test/test-arphrd-list.c
index bb51518c9..2949a8aae 100644
--- a/src/test/test-arphrd-list.c
+++ b/src/test/test-arphrd-list.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd
diff --git a/src/test/test-ask-password-api.c b/src/test/test-ask-password-api.c
index 86666597c..da4446582 100644
--- a/src/test/test-ask-password-api.c
+++ b/src/test/test-ask-password-api.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-async.c b/src/test/test-async.c
index 4ebc27f0b..2055ce25b 100644
--- a/src/test/test-async.c
+++ b/src/test/test-async.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd
diff --git a/src/test/test-barrier.c b/src/test/test-barrier.c
index e6aa3b5cf..1001cc2a5 100644
--- a/src/test/test-barrier.c
+++ b/src/test/test-barrier.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-bitmap.c b/src/test/test-bitmap.c
index ff2211774..6bc88a456 100644
--- a/src/test/test-bitmap.c
+++ b/src/test/test-bitmap.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd
diff --git a/src/test/test-boot-timestamps.c b/src/test/test-boot-timestamps.c
index 8e68d6510..37e799d78 100644
--- a/src/test/test-boot-timestamps.c
+++ b/src/test/test-boot-timestamps.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-bpf.c b/src/test/test-bpf.c
index 5b9931753..361cf100b 100644
--- a/src/test/test-bpf.c
+++ b/src/test/test-bpf.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-btrfs.c b/src/test/test-btrfs.c
index ce29d8841..645594ce6 100644
--- a/src/test/test-btrfs.c
+++ b/src/test/test-btrfs.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-calendarspec.c b/src/test/test-calendarspec.c
index bd5bebe66..1a95b6074 100644
--- a/src/test/test-calendarspec.c
+++ b/src/test/test-calendarspec.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-cap-list.c b/src/test/test-cap-list.c
index c1af277f3..9c82e618f 100644
--- a/src/test/test-cap-list.c
+++ b/src/test/test-cap-list.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-capability.c b/src/test/test-capability.c
index 8276c7598..367614708 100644
--- a/src/test/test-capability.c
+++ b/src/test/test-capability.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd
diff --git a/src/test/test-cgroup-mask.c b/src/test/test-cgroup-mask.c
index 4415bc7b9..10ae523b5 100644
--- a/src/test/test-cgroup-mask.c
+++ b/src/test/test-cgroup-mask.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-cgroup-util.c b/src/test/test-cgroup-util.c
index 076146306..45eb3ef8b 100644
--- a/src/test/test-cgroup-util.c
+++ b/src/test/test-cgroup-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-cgroup.c b/src/test/test-cgroup.c
index 71e318a15..2ae95db16 100644
--- a/src/test/test-cgroup.c
+++ b/src/test/test-cgroup.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-clock.c b/src/test/test-clock.c
index 94f8b50f4..11773cc18 100644
--- a/src/test/test-clock.c
+++ b/src/test/test-clock.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-condition.c b/src/test/test-condition.c
index 278ac2ab6..31e08b231 100644
--- a/src/test/test-condition.c
+++ b/src/test/test-condition.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd
diff --git a/src/test/test-conf-files.c b/src/test/test-conf-files.c
index 777b5ca32..de91efac7 100644
--- a/src/test/test-conf-files.c
+++ b/src/test/test-conf-files.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-conf-parser.c b/src/test/test-conf-parser.c
index 2974d533c..770bb9600 100644
--- a/src/test/test-conf-parser.c
+++ b/src/test/test-conf-parser.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-copy.c b/src/test/test-copy.c
index 187baa2d5..d277b78c5 100644
--- a/src/test/test-copy.c
+++ b/src/test/test-copy.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd
diff --git a/src/test/test-cpu-set-util.c b/src/test/test-cpu-set-util.c
index e51063358..8de7bbe0d 100644
--- a/src/test/test-cpu-set-util.c
+++ b/src/test/test-cpu-set-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-daemon.c b/src/test/test-daemon.c
index e5887cc06..0e82ba634 100644
--- a/src/test/test-daemon.c
+++ b/src/test/test-daemon.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-date.c b/src/test/test-date.c
index c09d61539..85867db8d 100644
--- a/src/test/test-date.c
+++ b/src/test/test-date.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-device-nodes.c b/src/test/test-device-nodes.c
index af75b3894..042907c8e 100644
--- a/src/test/test-device-nodes.c
+++ b/src/test/test-device-nodes.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-dissect-image.c b/src/test/test-dissect-image.c
index 2bb68be0d..c594047c7 100644
--- a/src/test/test-dissect-image.c
+++ b/src/test/test-dissect-image.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-dlopen.c b/src/test/test-dlopen.c
index 9f5343a7e..dd43da559 100644
--- a/src/test/test-dlopen.c
+++ b/src/test/test-dlopen.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-dns-domain.c b/src/test/test-dns-domain.c
index 75bc5e4a7..5f669df05 100644
--- a/src/test/test-dns-domain.c
+++ b/src/test/test-dns-domain.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-ellipsize.c b/src/test/test-ellipsize.c
index d4f09b08a..421774c07 100644
--- a/src/test/test-ellipsize.c
+++ b/src/test/test-ellipsize.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-engine.c b/src/test/test-engine.c
index a2e68bf5d..a7cdbb601 100644
--- a/src/test/test-engine.c
+++ b/src/test/test-engine.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-env-util.c b/src/test/test-env-util.c
index a76f691b7..b1e69d4a5 100644
--- a/src/test/test-env-util.c
+++ b/src/test/test-env-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-escape.c b/src/test/test-escape.c
index d060afaff..aa05520ab 100644
--- a/src/test/test-escape.c
+++ b/src/test/test-escape.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-exec-util.c b/src/test/test-exec-util.c
index c192d3522..bd9c80929 100644
--- a/src/test/test-exec-util.c
+++ b/src/test/test-exec-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-execute.c b/src/test/test-execute.c
index 998724189..52a9e0a94 100644
--- a/src/test/test-execute.c
+++ b/src/test/test-execute.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-extract-word.c b/src/test/test-extract-word.c
index 7a23fa7b7..84ab083e8 100644
--- a/src/test/test-extract-word.c
+++ b/src/test/test-extract-word.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-fd-util.c b/src/test/test-fd-util.c
index 4425b5fe5..4ad8fe75e 100644
--- a/src/test/test-fd-util.c
+++ b/src/test/test-fd-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-fdset.c b/src/test/test-fdset.c
index adbf99a7e..bc5d5d4f2 100644
--- a/src/test/test-fdset.c
+++ b/src/test/test-fdset.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd
diff --git a/src/test/test-fileio.c b/src/test/test-fileio.c
index c78eb51b4..e71beb135 100644
--- a/src/test/test-fileio.c
+++ b/src/test/test-fileio.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-firewall-util.c b/src/test/test-firewall-util.c
index 77e809c5b..38e433a76 100644
--- a/src/test/test-firewall-util.c
+++ b/src/test/test-firewall-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-fs-util.c b/src/test/test-fs-util.c
index e8fe2b3ff..3c958917b 100644
--- a/src/test/test-fs-util.c
+++ b/src/test/test-fs-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-fstab-util.c b/src/test/test-fstab-util.c
index 63a4b8c24..081ec6a90 100644
--- a/src/test/test-fstab-util.c
+++ b/src/test/test-fstab-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-glob-util.c b/src/test/test-glob-util.c
index af866e004..bd2f8fcfd 100644
--- a/src/test/test-glob-util.c
+++ b/src/test/test-glob-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-hash.c b/src/test/test-hash.c
index 02d1cfaee..f3b4258d6 100644
--- a/src/test/test-hash.c
+++ b/src/test/test-hash.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-hashmap-plain.c b/src/test/test-hashmap-plain.c
index 0471cd2f2..1725766e5 100644
--- a/src/test/test-hashmap-plain.c
+++ b/src/test/test-hashmap-plain.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd
diff --git a/src/test/test-hashmap.c b/src/test/test-hashmap.c
index 83cea360e..6ea1780cf 100644
--- a/src/test/test-hashmap.c
+++ b/src/test/test-hashmap.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd
diff --git a/src/test/test-helper.c b/src/test/test-helper.c
index 2a4b4347b..c371e199b 100644
--- a/src/test/test-helper.c
+++ b/src/test/test-helper.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-helper.h b/src/test/test-helper.h
index f7235527a..1ee93f5c5 100644
--- a/src/test/test-helper.h
+++ b/src/test/test-helper.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/test/test-hexdecoct.c b/src/test/test-hexdecoct.c
index fcae427e7..5767baebb 100644
--- a/src/test/test-hexdecoct.c
+++ b/src/test/test-hexdecoct.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-hostname-util.c b/src/test/test-hostname-util.c
index d2c3ea5e0..d5a986b1c 100644
--- a/src/test/test-hostname-util.c
+++ b/src/test/test-hostname-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-hostname.c b/src/test/test-hostname.c
index b38507df5..febb4c64c 100644
--- a/src/test/test-hostname.c
+++ b/src/test/test-hostname.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-id128.c b/src/test/test-id128.c
index e5f45206f..b7fca1540 100644
--- a/src/test/test-id128.c
+++ b/src/test/test-id128.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-in-addr-util.c b/src/test/test-in-addr-util.c
index 8b7a1229f..73692ec41 100644
--- a/src/test/test-in-addr-util.c
+++ b/src/test/test-in-addr-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd
diff --git a/src/test/test-install-root.c b/src/test/test-install-root.c
index 2a932d0af..efdd82a79 100644
--- a/src/test/test-install-root.c
+++ b/src/test/test-install-root.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-install.c b/src/test/test-install.c
index fb36aa83c..2f919187a 100644
--- a/src/test/test-install.c
+++ b/src/test/test-install.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-io-util.c b/src/test/test-io-util.c
index 10bd3833b..9ed9864f2 100644
--- a/src/test/test-io-util.c
+++ b/src/test/test-io-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-ipcrm.c b/src/test/test-ipcrm.c
index ce6c7aa18..c901e3584 100644
--- a/src/test/test-ipcrm.c
+++ b/src/test/test-ipcrm.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-job-type.c b/src/test/test-job-type.c
index 7f0b9f253..46444a046 100644
--- a/src/test/test-job-type.c
+++ b/src/test/test-job-type.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-journal-importer.c b/src/test/test-journal-importer.c
index a61212ce7..931a281f5 100644
--- a/src/test/test-journal-importer.c
+++ b/src/test/test-journal-importer.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-libudev.c b/src/test/test-libudev.c
index 0f71c18b6..408d14133 100644
--- a/src/test/test-libudev.c
+++ b/src/test/test-libudev.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-list.c b/src/test/test-list.c
index 0ccd745cc..25ffd8fb8 100644
--- a/src/test/test-list.c
+++ b/src/test/test-list.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd
diff --git a/src/test/test-locale-util.c b/src/test/test-locale-util.c
index 9e69567e4..4467bdd48 100644
--- a/src/test/test-locale-util.c
+++ b/src/test/test-locale-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd
diff --git a/src/test/test-log.c b/src/test/test-log.c
index 8ab569f47..9468349cb 100644
--- a/src/test/test-log.c
+++ b/src/test/test-log.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-loopback.c b/src/test/test-loopback.c
index c70633a0f..3fe897ac0 100644
--- a/src/test/test-loopback.c
+++ b/src/test/test-loopback.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-mount-util.c b/src/test/test-mount-util.c
index ce5e3dc8c..e2a0b4dfc 100644
--- a/src/test/test-mount-util.c
+++ b/src/test/test-mount-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-namespace.c b/src/test/test-namespace.c
index de7be1f9c..3b84b0196 100644
--- a/src/test/test-namespace.c
+++ b/src/test/test-namespace.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-netlink-manual.c b/src/test/test-netlink-manual.c
index ce1c1c0b1..3b10b697a 100644
--- a/src/test/test-netlink-manual.c
+++ b/src/test/test-netlink-manual.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-ns.c b/src/test/test-ns.c
index 5b2a03ff6..76e2b38b1 100644
--- a/src/test/test-ns.c
+++ b/src/test/test-ns.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-nss.c b/src/test/test-nss.c
index 9f73bc9a5..acfb6760a 100644
--- a/src/test/test-nss.c
+++ b/src/test/test-nss.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-parse-util.c b/src/test/test-parse-util.c
index 4cd829114..8259e133c 100644
--- a/src/test/test-parse-util.c
+++ b/src/test/test-parse-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-path-lookup.c b/src/test/test-path-lookup.c
index 096326d17..94e5d62e6 100644
--- a/src/test/test-path-lookup.c
+++ b/src/test/test-path-lookup.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-path-util.c b/src/test/test-path-util.c
index ff46a896b..68fe941f1 100644
--- a/src/test/test-path-util.c
+++ b/src/test/test-path-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-path.c b/src/test/test-path.c
index 051dfc486..3f579b064 100644
--- a/src/test/test-path.c
+++ b/src/test/test-path.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-prioq.c b/src/test/test-prioq.c
index d81880a65..f558384a1 100644
--- a/src/test/test-prioq.c
+++ b/src/test/test-prioq.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-proc-cmdline.c b/src/test/test-proc-cmdline.c
index 12dac8585..01b8cf0ca 100644
--- a/src/test/test-proc-cmdline.c
+++ b/src/test/test-proc-cmdline.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-process-util.c b/src/test/test-process-util.c
index 0f0e2cbcb..47733788f 100644
--- a/src/test/test-process-util.c
+++ b/src/test/test-process-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-random-util.c b/src/test/test-random-util.c
index 50f4da270..d7ccc91f9 100644
--- a/src/test/test-random-util.c
+++ b/src/test/test-random-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-ratelimit.c b/src/test/test-ratelimit.c
index 990b834c7..dcfa60e94 100644
--- a/src/test/test-ratelimit.c
+++ b/src/test/test-ratelimit.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd
diff --git a/src/test/test-replace-var.c b/src/test/test-replace-var.c
index 60e05d04c..56ce99e7a 100644
--- a/src/test/test-replace-var.c
+++ b/src/test/test-replace-var.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-rlimit-util.c b/src/test/test-rlimit-util.c
index 62afd2de5..93724434a 100644
--- a/src/test/test-rlimit-util.c
+++ b/src/test/test-rlimit-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd
diff --git a/src/test/test-sched-prio.c b/src/test/test-sched-prio.c
index 8f526a841..804cee34e 100644
--- a/src/test/test-sched-prio.c
+++ b/src/test/test-sched-prio.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-seccomp.c b/src/test/test-seccomp.c
index a1d3c6280..36b49ebc7 100644
--- a/src/test/test-seccomp.c
+++ b/src/test/test-seccomp.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-selinux.c b/src/test/test-selinux.c
index 190736aa4..f954dbb45 100644
--- a/src/test/test-selinux.c
+++ b/src/test/test-selinux.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-set.c b/src/test/test-set.c
index 3fab350cf..7bae95bd2 100644
--- a/src/test/test-set.c
+++ b/src/test/test-set.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd
diff --git a/src/test/test-sigbus.c b/src/test/test-sigbus.c
index bcc08b226..75df8513f 100644
--- a/src/test/test-sigbus.c
+++ b/src/test/test-sigbus.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-signal-util.c b/src/test/test-signal-util.c
index 92e392778..13a1d2ba1 100644
--- a/src/test/test-signal-util.c
+++ b/src/test/test-signal-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-siphash24.c b/src/test/test-siphash24.c
index b74b7ad2d..7469457be 100644
--- a/src/test/test-siphash24.c
+++ b/src/test/test-siphash24.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-sizeof.c b/src/test/test-sizeof.c
index bfc421e4b..f472edcfa 100644
--- a/src/test/test-sizeof.c
+++ b/src/test/test-sizeof.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-sleep.c b/src/test/test-sleep.c
index 97b6f3015..3c2b115fb 100644
--- a/src/test/test-sleep.c
+++ b/src/test/test-sleep.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-socket-util.c b/src/test/test-socket-util.c
index 8ac1d7989..6a91baf6d 100644
--- a/src/test/test-socket-util.c
+++ b/src/test/test-socket-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd
diff --git a/src/test/test-stat-util.c b/src/test/test-stat-util.c
index 8e027ff26..b58f31dd5 100644
--- a/src/test/test-stat-util.c
+++ b/src/test/test-stat-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-strbuf.c b/src/test/test-strbuf.c
index 513218c39..891d7b1d4 100644
--- a/src/test/test-strbuf.c
+++ b/src/test/test-strbuf.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-string-util.c b/src/test/test-string-util.c
index 5d97080d2..ed777e180 100644
--- a/src/test/test-string-util.c
+++ b/src/test/test-string-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-strip-tab-ansi.c b/src/test/test-strip-tab-ansi.c
index 72b0f6fc1..aabb7c40e 100644
--- a/src/test/test-strip-tab-ansi.c
+++ b/src/test/test-strip-tab-ansi.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-strv.c b/src/test/test-strv.c
index 88da69e2d..aec00eb81 100644
--- a/src/test/test-strv.c
+++ b/src/test/test-strv.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-strxcpyx.c b/src/test/test-strxcpyx.c
index d95945f6b..7e2d3c252 100644
--- a/src/test/test-strxcpyx.c
+++ b/src/test/test-strxcpyx.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-tables.c b/src/test/test-tables.c
index a16b04dbd..023fae040 100644
--- a/src/test/test-tables.c
+++ b/src/test/test-tables.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd
diff --git a/src/test/test-terminal-util.c b/src/test/test-terminal-util.c
index 373a1b70b..51b3306d1 100644
--- a/src/test/test-terminal-util.c
+++ b/src/test/test-terminal-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-time-util.c b/src/test/test-time-util.c
index b7a06c7b1..e639ded48 100644
--- a/src/test/test-time-util.c
+++ b/src/test/test-time-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-tmpfiles.c b/src/test/test-tmpfiles.c
index b4c76048a..c479eccb8 100644
--- a/src/test/test-tmpfiles.c
+++ b/src/test/test-tmpfiles.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-udev.c b/src/test/test-udev.c
index c84bd8991..e765f716c 100644
--- a/src/test/test-udev.c
+++ b/src/test/test-udev.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-uid-range.c b/src/test/test-uid-range.c
index 41f06a5ce..ce461d606 100644
--- a/src/test/test-uid-range.c
+++ b/src/test/test-uid-range.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-unaligned.c b/src/test/test-unaligned.c
index 4f6439894..00445fa30 100644
--- a/src/test/test-unaligned.c
+++ b/src/test/test-unaligned.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd
diff --git a/src/test/test-unit-file.c b/src/test/test-unit-file.c
index da24c131f..40eeba6af 100644
--- a/src/test/test-unit-file.c
+++ b/src/test/test-unit-file.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-unit-name.c b/src/test/test-unit-name.c
index 858bbf847..013e87e73 100644
--- a/src/test/test-unit-name.c
+++ b/src/test/test-unit-name.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-user-util.c b/src/test/test-user-util.c
index 2a344a9f9..639804f34 100644
--- a/src/test/test-user-util.c
+++ b/src/test/test-user-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-utf8.c b/src/test/test-utf8.c
index 1ce5a5a24..1ea0901f6 100644
--- a/src/test/test-utf8.c
+++ b/src/test/test-utf8.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-util.c b/src/test/test-util.c
index 0a0cb7b55..2124511bf 100644
--- a/src/test/test-util.c
+++ b/src/test/test-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-verbs.c b/src/test/test-verbs.c
index 0fcdd9e78..88276a21e 100644
--- a/src/test/test-verbs.c
+++ b/src/test/test-verbs.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-watchdog.c b/src/test/test-watchdog.c
index 276b803cc..e068d1ddd 100644
--- a/src/test/test-watchdog.c
+++ b/src/test/test-watchdog.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-web-util.c b/src/test/test-web-util.c
index 79a3a13af..f59a19672 100644
--- a/src/test/test-web-util.c
+++ b/src/test/test-web-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-xattr-util.c b/src/test/test-xattr-util.c
index 267f29426..01c371a39 100644
--- a/src/test/test-xattr-util.c
+++ b/src/test/test-xattr-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/test/test-xml.c b/src/test/test-xml.c
index b0b72fa78..5b9abc16b 100644
--- a/src/test/test-xml.c
+++ b/src/test/test-xml.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.