summaryrefslogtreecommitdiffstats
path: root/test/units
diff options
context:
space:
mode:
Diffstat (limited to 'test/units')
-rwxr-xr-xtest/units/testsuite-02.sh1
-rwxr-xr-xtest/units/testsuite-03.sh1
-rwxr-xr-xtest/units/testsuite-04.sh1
-rwxr-xr-xtest/units/testsuite-05.sh1
-rwxr-xr-xtest/units/testsuite-06.sh1
-rwxr-xr-xtest/units/testsuite-07.sh1
-rwxr-xr-xtest/units/testsuite-11.sh1
-rwxr-xr-xtest/units/testsuite-12.sh1
-rwxr-xr-xtest/units/testsuite-13.sh1
-rwxr-xr-xtest/units/testsuite-14.sh1
-rwxr-xr-xtest/units/testsuite-15.sh1
-rwxr-xr-xtest/units/testsuite-16.sh1
-rwxr-xr-xtest/units/testsuite-17.01.sh1
-rwxr-xr-xtest/units/testsuite-17.02.sh1
-rwxr-xr-xtest/units/testsuite-17.03.sh2
-rwxr-xr-xtest/units/testsuite-17.04.sh1
-rwxr-xr-xtest/units/testsuite-17.05.sh1
-rwxr-xr-xtest/units/testsuite-17.06.sh1
-rwxr-xr-xtest/units/testsuite-17.sh2
-rwxr-xr-xtest/units/testsuite-18.sh1
-rwxr-xr-xtest/units/testsuite-19.sh1
-rwxr-xr-xtest/units/testsuite-20.sh1
-rwxr-xr-xtest/units/testsuite-22.01.sh3
-rwxr-xr-xtest/units/testsuite-22.02.sh3
-rwxr-xr-xtest/units/testsuite-22.03.sh3
-rwxr-xr-xtest/units/testsuite-22.04.sh3
-rwxr-xr-xtest/units/testsuite-22.05.sh2
-rwxr-xr-xtest/units/testsuite-22.06.sh3
-rwxr-xr-xtest/units/testsuite-22.07.sh3
-rwxr-xr-xtest/units/testsuite-22.08.sh3
-rwxr-xr-xtest/units/testsuite-22.09.sh2
-rwxr-xr-xtest/units/testsuite-22.10.sh2
-rwxr-xr-xtest/units/testsuite-22.11.sh2
-rwxr-xr-xtest/units/testsuite-22.12.sh4
-rwxr-xr-xtest/units/testsuite-22.sh2
-rwxr-xr-xtest/units/testsuite-23.sh1
-rwxr-xr-xtest/units/testsuite-25.sh1
-rwxr-xr-xtest/units/testsuite-26.sh1
-rwxr-xr-xtest/units/testsuite-27.sh1
-rwxr-xr-xtest/units/testsuite-29.sh1
-rwxr-xr-xtest/units/testsuite-30.sh1
-rwxr-xr-xtest/units/testsuite-31.sh1
-rwxr-xr-xtest/units/testsuite-32.sh1
-rwxr-xr-xtest/units/testsuite-33.sh1
-rwxr-xr-xtest/units/testsuite-34.sh1
-rwxr-xr-xtest/units/testsuite-36.sh1
-rwxr-xr-xtest/units/testsuite-37.sh1
-rwxr-xr-xtest/units/testsuite-38.sh1
-rwxr-xr-xtest/units/testsuite-39.sh2
-rwxr-xr-xtest/units/testsuite-40.sh1
-rwxr-xr-xtest/units/testsuite-41.sh1
-rwxr-xr-xtest/units/testsuite-42.sh1
-rwxr-xr-xtest/units/testsuite-43.sh1
-rwxr-xr-xtest/units/testsuite-44.sh1
-rwxr-xr-xtest/units/testsuite-46.sh1
-rwxr-xr-xtest/units/testsuite-47-repro.sh1
-rwxr-xr-xtest/units/testsuite-47.sh1
-rwxr-xr-xtest/units/testsuite-48.sh1
-rwxr-xr-xtest/units/testsuite-49.sh1
-rwxr-xr-xtest/units/testsuite-50.sh1
-rwxr-xr-xtest/units/testsuite-51.sh1
-rwxr-xr-xtest/units/testsuite-52.sh1
-rwxr-xr-xtest/units/testsuite-53.sh1
-rwxr-xr-xtest/units/testsuite-54.sh1
-rwxr-xr-xtest/units/testsuite-55-slowgrowth.sh1
-rwxr-xr-xtest/units/testsuite-55.sh1
-rwxr-xr-xtest/units/testsuite-57-short-lived.sh2
-rwxr-xr-xtest/units/testsuite-57.sh1
-rwxr-xr-xtest/units/testsuite-58.sh1
-rwxr-xr-xtest/units/testsuite-59.sh1
-rwxr-xr-xtest/units/testsuite-60.sh1
-rwxr-xr-xtest/units/testsuite-61.sh1
-rwxr-xr-xtest/units/testsuite-62.sh1
-rwxr-xr-xtest/units/testsuite-64.sh1
-rwxr-xr-xtest/units/testsuite-65.sh1
-rwxr-xr-xtest/units/testsuite-66.sh1
76 files changed, 77 insertions, 25 deletions
diff --git a/test/units/testsuite-02.sh b/test/units/testsuite-02.sh
index b16e8547ab..af6e007825 100755
--- a/test/units/testsuite-02.sh
+++ b/test/units/testsuite-02.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-03.sh b/test/units/testsuite-03.sh
index 8a8ba870e8..070e978cda 100755
--- a/test/units/testsuite-03.sh
+++ b/test/units/testsuite-03.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-04.sh b/test/units/testsuite-04.sh
index 562f364700..7521a6d2e5 100755
--- a/test/units/testsuite-04.sh
+++ b/test/units/testsuite-04.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-05.sh b/test/units/testsuite-05.sh
index c98d849b08..870845d14b 100755
--- a/test/units/testsuite-05.sh
+++ b/test/units/testsuite-05.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-06.sh b/test/units/testsuite-06.sh
index f89698ded4..c57d8b9488 100755
--- a/test/units/testsuite-06.sh
+++ b/test/units/testsuite-06.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-07.sh b/test/units/testsuite-07.sh
index bd1da341ac..5e9fe64ea9 100755
--- a/test/units/testsuite-07.sh
+++ b/test/units/testsuite-07.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-11.sh b/test/units/testsuite-11.sh
index d05f609877..7e1391d8ea 100755
--- a/test/units/testsuite-11.sh
+++ b/test/units/testsuite-11.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-12.sh b/test/units/testsuite-12.sh
index c4ee600abe..e64f321273 100755
--- a/test/units/testsuite-12.sh
+++ b/test/units/testsuite-12.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-13.sh b/test/units/testsuite-13.sh
index 3f5a542738..554d098ef5 100755
--- a/test/units/testsuite-13.sh
+++ b/test/units/testsuite-13.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
# shellcheck disable=SC2016
set -eux
set -o pipefail
diff --git a/test/units/testsuite-14.sh b/test/units/testsuite-14.sh
index 7a64d93736..54275910cf 100755
--- a/test/units/testsuite-14.sh
+++ b/test/units/testsuite-14.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-15.sh b/test/units/testsuite-15.sh
index c3784e299d..e4bb222c67 100755
--- a/test/units/testsuite-15.sh
+++ b/test/units/testsuite-15.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-16.sh b/test/units/testsuite-16.sh
index 9f3a843da6..1b8cd018bb 100755
--- a/test/units/testsuite-16.sh
+++ b/test/units/testsuite-16.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-17.01.sh b/test/units/testsuite-17.01.sh
index 4f9f72daf1..44f36f5955 100755
--- a/test/units/testsuite-17.01.sh
+++ b/test/units/testsuite-17.01.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -ex
set -o pipefail
diff --git a/test/units/testsuite-17.02.sh b/test/units/testsuite-17.02.sh
index b73bd97702..797676fc14 100755
--- a/test/units/testsuite-17.02.sh
+++ b/test/units/testsuite-17.02.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -ex
set -o pipefail
diff --git a/test/units/testsuite-17.03.sh b/test/units/testsuite-17.03.sh
index 16ae62b46b..fecfd17952 100755
--- a/test/units/testsuite-17.03.sh
+++ b/test/units/testsuite-17.03.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -ex
test_rule="/run/udev/rules.d/49-test.rules"
diff --git a/test/units/testsuite-17.04.sh b/test/units/testsuite-17.04.sh
index bb4777f25e..d1c3c85566 100755
--- a/test/units/testsuite-17.04.sh
+++ b/test/units/testsuite-17.04.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -ex
set -o pipefail
diff --git a/test/units/testsuite-17.05.sh b/test/units/testsuite-17.05.sh
index a6e5b3325e..60be31a126 100755
--- a/test/units/testsuite-17.05.sh
+++ b/test/units/testsuite-17.05.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -ex
set -o pipefail
diff --git a/test/units/testsuite-17.06.sh b/test/units/testsuite-17.06.sh
index cd98ed8217..f2a0442dc3 100755
--- a/test/units/testsuite-17.06.sh
+++ b/test/units/testsuite-17.06.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -ex
set -o pipefail
diff --git a/test/units/testsuite-17.sh b/test/units/testsuite-17.sh
index 92ff7b56a6..b389875ef1 100755
--- a/test/units/testsuite-17.sh
+++ b/test/units/testsuite-17.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-18.sh b/test/units/testsuite-18.sh
index fe4f9ce5e0..e9d7c5bfc8 100755
--- a/test/units/testsuite-18.sh
+++ b/test/units/testsuite-18.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-19.sh b/test/units/testsuite-19.sh
index 8ea89e6cfe..ee4eb8431e 100755
--- a/test/units/testsuite-19.sh
+++ b/test/units/testsuite-19.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-20.sh b/test/units/testsuite-20.sh
index 7876a9d10c..17a27d7d7c 100755
--- a/test/units/testsuite-20.sh
+++ b/test/units/testsuite-20.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-22.01.sh b/test/units/testsuite-22.01.sh
index 7975980799..2276b75d35 100755
--- a/test/units/testsuite-22.01.sh
+++ b/test/units/testsuite-22.01.sh
@@ -1,9 +1,8 @@
#!/bin/bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
#
# With "e" don't attempt to set permissions when file doesn't exist, see
# https://github.com/systemd/systemd/pull/6682.
-#
-
set -eux
set -o pipefail
diff --git a/test/units/testsuite-22.02.sh b/test/units/testsuite-22.02.sh
index 94fa11ba88..0719d68292 100755
--- a/test/units/testsuite-22.02.sh
+++ b/test/units/testsuite-22.02.sh
@@ -1,8 +1,7 @@
#!/bin/bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
#
# Basic tests for types creating directories
-#
-
set -eux
set -o pipefail
diff --git a/test/units/testsuite-22.03.sh b/test/units/testsuite-22.03.sh
index 1ed026eb70..404e33e2fa 100755
--- a/test/units/testsuite-22.03.sh
+++ b/test/units/testsuite-22.03.sh
@@ -1,8 +1,7 @@
#!/bin/bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
#
# Basic tests for types creating/writing files
-#
-
set -eux
set -o pipefail
diff --git a/test/units/testsuite-22.04.sh b/test/units/testsuite-22.04.sh
index d814ed8786..7bf2b28edc 100755
--- a/test/units/testsuite-22.04.sh
+++ b/test/units/testsuite-22.04.sh
@@ -1,8 +1,7 @@
#!/bin/bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
#
# Basic tests for types creating fifos
-#
-
set -eux
set -o pipefail
diff --git a/test/units/testsuite-22.05.sh b/test/units/testsuite-22.05.sh
index eaabbc4517..cde9b5d61c 100755
--- a/test/units/testsuite-22.05.sh
+++ b/test/units/testsuite-22.05.sh
@@ -1,5 +1,5 @@
#! /bin/bash
-
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-22.06.sh b/test/units/testsuite-22.06.sh
index ce5b1bf698..f64a95ce1a 100755
--- a/test/units/testsuite-22.06.sh
+++ b/test/units/testsuite-22.06.sh
@@ -1,8 +1,7 @@
#!/bin/bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
#
# Inspired by https://github.com/systemd/systemd/issues/9508
-#
-
set -eux
set -o pipefail
diff --git a/test/units/testsuite-22.07.sh b/test/units/testsuite-22.07.sh
index 8d61032d27..de20d5ee90 100755
--- a/test/units/testsuite-22.07.sh
+++ b/test/units/testsuite-22.07.sh
@@ -1,8 +1,7 @@
#!/bin/bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
#
# Verifies the issues described by https://github.com/systemd/systemd/issues/10191
-#
-
set -eux
set -o pipefail
diff --git a/test/units/testsuite-22.08.sh b/test/units/testsuite-22.08.sh
index e4272f8ea3..65f1832adc 100755
--- a/test/units/testsuite-22.08.sh
+++ b/test/units/testsuite-22.08.sh
@@ -1,12 +1,11 @@
#!/bin/bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
#
# Verify tmpfiles can run in a root directory under a path prefix that contains
# directories owned by unprivileged users, for example when a root file system
# is mounted in a regular user's home directory.
#
# https://github.com/systemd/systemd/pull/11820
-#
-
set -eux
set -o pipefail
diff --git a/test/units/testsuite-22.09.sh b/test/units/testsuite-22.09.sh
index c852f778ef..0857773526 100755
--- a/test/units/testsuite-22.09.sh
+++ b/test/units/testsuite-22.09.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-22.10.sh b/test/units/testsuite-22.10.sh
index d650b2145c..99052c808f 100755
--- a/test/units/testsuite-22.10.sh
+++ b/test/units/testsuite-22.10.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-22.11.sh b/test/units/testsuite-22.11.sh
index 21ef210cd1..508f90c9f5 100755
--- a/test/units/testsuite-22.11.sh
+++ b/test/units/testsuite-22.11.sh
@@ -1,5 +1,5 @@
#! /bin/bash
-
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -e
set -x
diff --git a/test/units/testsuite-22.12.sh b/test/units/testsuite-22.12.sh
index 7f27b40acd..660e8146bc 100755
--- a/test/units/testsuite-22.12.sh
+++ b/test/units/testsuite-22.12.sh
@@ -1,7 +1,7 @@
#! /bin/bash
-
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
# Test the "Age" parameter (with age-by) for systemd-tmpfiles.
-
set -e
set -x
diff --git a/test/units/testsuite-22.sh b/test/units/testsuite-22.sh
index 65d0802969..43823f1d46 100755
--- a/test/units/testsuite-22.sh
+++ b/test/units/testsuite-22.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-23.sh b/test/units/testsuite-23.sh
index 5488447a87..46e45c8780 100755
--- a/test/units/testsuite-23.sh
+++ b/test/units/testsuite-23.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-25.sh b/test/units/testsuite-25.sh
index fbe2d0b1d4..4119d777b3 100755
--- a/test/units/testsuite-25.sh
+++ b/test/units/testsuite-25.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-26.sh b/test/units/testsuite-26.sh
index 7982099307..7df0d1dc8f 100755
--- a/test/units/testsuite-26.sh
+++ b/test/units/testsuite-26.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-27.sh b/test/units/testsuite-27.sh
index 2248380351..3b2f925153 100755
--- a/test/units/testsuite-27.sh
+++ b/test/units/testsuite-27.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-29.sh b/test/units/testsuite-29.sh
index 7775695e6d..11f1832aa4 100755
--- a/test/units/testsuite-29.sh
+++ b/test/units/testsuite-29.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
set -eux
diff --git a/test/units/testsuite-30.sh b/test/units/testsuite-30.sh
index ac8a3e06cf..51b9bdd093 100755
--- a/test/units/testsuite-30.sh
+++ b/test/units/testsuite-30.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-31.sh b/test/units/testsuite-31.sh
index a9a50e1470..024ad3652f 100755
--- a/test/units/testsuite-31.sh
+++ b/test/units/testsuite-31.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-32.sh b/test/units/testsuite-32.sh
index 2393601a00..20ab67f6f1 100755
--- a/test/units/testsuite-32.sh
+++ b/test/units/testsuite-32.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-33.sh b/test/units/testsuite-33.sh
index 6e750f63a3..b951eef88b 100755
--- a/test/units/testsuite-33.sh
+++ b/test/units/testsuite-33.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
set -eux
diff --git a/test/units/testsuite-34.sh b/test/units/testsuite-34.sh
index 394b220d60..97244ac457 100755
--- a/test/units/testsuite-34.sh
+++ b/test/units/testsuite-34.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-36.sh b/test/units/testsuite-36.sh
index b684011785..b6c00c4845 100755
--- a/test/units/testsuite-36.sh
+++ b/test/units/testsuite-36.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-37.sh b/test/units/testsuite-37.sh
index c3eb5344d1..1aec383c0c 100755
--- a/test/units/testsuite-37.sh
+++ b/test/units/testsuite-37.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
set -eux
diff --git a/test/units/testsuite-38.sh b/test/units/testsuite-38.sh
index e58bae81fe..f2f61b961f 100755
--- a/test/units/testsuite-38.sh
+++ b/test/units/testsuite-38.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-39.sh b/test/units/testsuite-39.sh
index 3b0d893a4c..03abf391f1 100755
--- a/test/units/testsuite-39.sh
+++ b/test/units/testsuite-39.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-40.sh b/test/units/testsuite-40.sh
index fdb052c39c..dd54fa174c 100755
--- a/test/units/testsuite-40.sh
+++ b/test/units/testsuite-40.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-41.sh b/test/units/testsuite-41.sh
index e7993e8df7..3b41db03f5 100755
--- a/test/units/testsuite-41.sh
+++ b/test/units/testsuite-41.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-42.sh b/test/units/testsuite-42.sh
index 4e6be7e06e..9476df86dd 100755
--- a/test/units/testsuite-42.sh
+++ b/test/units/testsuite-42.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
systemd-analyze log-level debug
diff --git a/test/units/testsuite-43.sh b/test/units/testsuite-43.sh
index c6399f9920..9c0f93b518 100755
--- a/test/units/testsuite-43.sh
+++ b/test/units/testsuite-43.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-44.sh b/test/units/testsuite-44.sh
index 0100b31b57..49c240ff8e 100755
--- a/test/units/testsuite-44.sh
+++ b/test/units/testsuite-44.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
systemd-analyze log-level debug
diff --git a/test/units/testsuite-46.sh b/test/units/testsuite-46.sh
index 808270f33d..72d1fd6f85 100755
--- a/test/units/testsuite-46.sh
+++ b/test/units/testsuite-46.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-47-repro.sh b/test/units/testsuite-47-repro.sh
index b008f52e95..74fa7605e7 100755
--- a/test/units/testsuite-47-repro.sh
+++ b/test/units/testsuite-47-repro.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
sleep infinity &
echo $! >/leakedtestpid
diff --git a/test/units/testsuite-47.sh b/test/units/testsuite-47.sh
index c1714d14d0..ff10602df7 100755
--- a/test/units/testsuite-47.sh
+++ b/test/units/testsuite-47.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-48.sh b/test/units/testsuite-48.sh
index 147f6fa54f..2b5b86f6e8 100755
--- a/test/units/testsuite-48.sh
+++ b/test/units/testsuite-48.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
set -eux
diff --git a/test/units/testsuite-49.sh b/test/units/testsuite-49.sh
index 8e360b4951..1fa972552b 100755
--- a/test/units/testsuite-49.sh
+++ b/test/units/testsuite-49.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
echo "MARKER_FIXED" >/run/testservice-49-fixed
diff --git a/test/units/testsuite-50.sh b/test/units/testsuite-50.sh
index a8024b32e3..e7e4e4b147 100755
--- a/test/units/testsuite-50.sh
+++ b/test/units/testsuite-50.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
set -eux
diff --git a/test/units/testsuite-51.sh b/test/units/testsuite-51.sh
index 06bc1602f8..fbe9693f3a 100755
--- a/test/units/testsuite-51.sh
+++ b/test/units/testsuite-51.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-52.sh b/test/units/testsuite-52.sh
index ea133dbaad..68c73f5a99 100755
--- a/test/units/testsuite-52.sh
+++ b/test/units/testsuite-52.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -ex
set -o pipefail
diff --git a/test/units/testsuite-53.sh b/test/units/testsuite-53.sh
index 3eef94bc14..84cd66129d 100755
--- a/test/units/testsuite-53.sh
+++ b/test/units/testsuite-53.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-54.sh b/test/units/testsuite-54.sh
index eb72597961..6fc32b0a5b 100755
--- a/test/units/testsuite-54.sh
+++ b/test/units/testsuite-54.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
# shellcheck disable=SC2016
set -eux
diff --git a/test/units/testsuite-55-slowgrowth.sh b/test/units/testsuite-55-slowgrowth.sh
index d1595ad150..df1ea483fb 100755
--- a/test/units/testsuite-55-slowgrowth.sh
+++ b/test/units/testsuite-55-slowgrowth.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
# Don't use set -x here, since it generates a lot of output and slows
# the script down, causing unexpected test fails.
set -eu
diff --git a/test/units/testsuite-55.sh b/test/units/testsuite-55.sh
index 945e192420..b265c8cce7 100755
--- a/test/units/testsuite-55.sh
+++ b/test/units/testsuite-55.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-57-short-lived.sh b/test/units/testsuite-57-short-lived.sh
index 8c48d3a2d5..164fb0f1de 100755
--- a/test/units/testsuite-57-short-lived.sh
+++ b/test/units/testsuite-57-short-lived.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -ex
if [ -f /tmp/testsuite-57.counter ] ; then
diff --git a/test/units/testsuite-57.sh b/test/units/testsuite-57.sh
index 5db82b8437..66d946bebc 100755
--- a/test/units/testsuite-57.sh
+++ b/test/units/testsuite-57.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-58.sh b/test/units/testsuite-58.sh
index ae177ac428..16cd8385fb 100755
--- a/test/units/testsuite-58.sh
+++ b/test/units/testsuite-58.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-59.sh b/test/units/testsuite-59.sh
index 459d6e6403..143e44ec63 100755
--- a/test/units/testsuite-59.sh
+++ b/test/units/testsuite-59.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-60.sh b/test/units/testsuite-60.sh
index 06526776fd..eb174f00ed 100755
--- a/test/units/testsuite-60.sh
+++ b/test/units/testsuite-60.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-61.sh b/test/units/testsuite-61.sh
index ef9b6b57c5..748e24a7ca 100755
--- a/test/units/testsuite-61.sh
+++ b/test/units/testsuite-61.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-62.sh b/test/units/testsuite-62.sh
index 140ccfe36f..ee67c94ab1 100755
--- a/test/units/testsuite-62.sh
+++ b/test/units/testsuite-62.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -ex
set -o pipefail
diff --git a/test/units/testsuite-64.sh b/test/units/testsuite-64.sh
index 6f8382707f..10cd59f472 100755
--- a/test/units/testsuite-64.sh
+++ b/test/units/testsuite-64.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
# vi: ts=4 sw=4 tw=0 et:
set -eux
diff --git a/test/units/testsuite-65.sh b/test/units/testsuite-65.sh
index 95b18e5e23..3c3d795d63 100755
--- a/test/units/testsuite-65.sh
+++ b/test/units/testsuite-65.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
# shellcheck disable=SC2016
set -eux
diff --git a/test/units/testsuite-66.sh b/test/units/testsuite-66.sh
index 6fffa4674f..fba42d15df 100755
--- a/test/units/testsuite-66.sh
+++ b/test/units/testsuite-66.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail