diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-10-17 18:07:22 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-10-18 09:04:45 +0200 |
commit | 22d3cfe54c0c35c8ad0aa93de0a97dec160de59f (patch) | |
tree | 17c69eae70ca31bf31102e78841b9fbfe3bcb90a /test/test-sysusers | |
parent | bpf: fix SPDX short identifier for LGPL-2.1-or-later (diff) | |
download | systemd-22d3cfe54c0c35c8ad0aa93de0a97dec160de59f.tar.xz systemd-22d3cfe54c0c35c8ad0aa93de0a97dec160de59f.zip |
tests: add spdx license header to test unit/link/network/conf files
Those are all consumed by our parser, so they all support comments.
I was considering whether they should have a license header at all,
but in the end I decided to add it because those files are often created
by copying parts of real unit files. And if the real ones have a license,
then those might as well. It's easier to add it than to make an exception.
Diffstat (limited to 'test/test-sysusers')
-rw-r--r-- | test/test-sysusers/test-1.input | 1 | ||||
-rw-r--r-- | test/test-sysusers/test-10.input | 1 | ||||
-rw-r--r-- | test/test-sysusers/test-11.input | 1 | ||||
-rw-r--r-- | test/test-sysusers/test-12.input | 1 | ||||
-rw-r--r-- | test/test-sysusers/test-13.input | 1 | ||||
-rw-r--r-- | test/test-sysusers/test-14.input | 1 | ||||
-rw-r--r-- | test/test-sysusers/test-2.input | 1 | ||||
-rw-r--r-- | test/test-sysusers/test-3.input | 1 | ||||
-rw-r--r-- | test/test-sysusers/test-4.input | 1 | ||||
-rw-r--r-- | test/test-sysusers/test-5.input | 1 | ||||
-rw-r--r-- | test/test-sysusers/test-6.input | 1 | ||||
-rw-r--r-- | test/test-sysusers/test-7.input | 1 | ||||
-rw-r--r-- | test/test-sysusers/test-8.input | 1 | ||||
-rw-r--r-- | test/test-sysusers/test-9.input | 1 | ||||
-rw-r--r-- | test/test-sysusers/unhappy-1.input | 1 | ||||
-rw-r--r-- | test/test-sysusers/unhappy-2.input | 1 | ||||
-rw-r--r-- | test/test-sysusers/unhappy-3.input | 1 |
17 files changed, 17 insertions, 0 deletions
diff --git a/test/test-sysusers/test-1.input b/test/test-sysusers/test-1.input index 297bbe3503..05c51e8532 100644 --- a/test/test-sysusers/test-1.input +++ b/test/test-sysusers/test-1.input @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later # Trivial smoke test that covers the most basic functionality # #Type Name ID GECOS HOMEDIR diff --git a/test/test-sysusers/test-10.input b/test/test-sysusers/test-10.input index 8e18a00a63..f5ae0873cd 100644 --- a/test/test-sysusers/test-10.input +++ b/test/test-sysusers/test-10.input @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later # check that 'm' lines do not conflicts 'u' line # #Type Name ID GECOS HOMEDIR diff --git a/test/test-sysusers/test-11.input b/test/test-sysusers/test-11.input index bffc2cd7ea..d881b7b5ce 100644 --- a/test/test-sysusers/test-11.input +++ b/test/test-sysusers/test-11.input @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later #Type Name ID GECOS HOMEDIR u u1 222 - - g g1 111 - - diff --git a/test/test-sysusers/test-12.input b/test/test-sysusers/test-12.input index 2913120276..2dd2e4b44a 100644 --- a/test/test-sysusers/test-12.input +++ b/test/test-sysusers/test-12.input @@ -1 +1,2 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later u systemd-coredump 1 "systemd Core Dumper" diff --git a/test/test-sysusers/test-13.input b/test/test-sysusers/test-13.input index bad2f09505..f2ccd44cc9 100644 --- a/test/test-sysusers/test-13.input +++ b/test/test-sysusers/test-13.input @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later # Ensure that the semantic for the uid:groupname syntax is correct # #Type Name ID GECOS HOMEDIR diff --git a/test/test-sysusers/test-14.input b/test/test-sysusers/test-14.input index 0a11a2e325..a1cf58bad0 100644 --- a/test/test-sysusers/test-14.input +++ b/test/test-sysusers/test-14.input @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later # Ensure that a preexisting system group can be used as primary # #Type Name ID GECOS HOMEDIR diff --git a/test/test-sysusers/test-2.input b/test/test-sysusers/test-2.input index 773d9e5da1..8d2b1aa83f 100644 --- a/test/test-sysusers/test-2.input +++ b/test/test-sysusers/test-2.input @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later # Test generation of ID dynamically based on SYSTEM_UGID_MAX and # replacement of all fields up to the login shell. # diff --git a/test/test-sysusers/test-3.input b/test/test-sysusers/test-3.input index 3257082cee..b4369597b9 100644 --- a/test/test-sysusers/test-3.input +++ b/test/test-sysusers/test-3.input @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later # Ensure that the semantic for the uid:gid syntax is correct # #Type Name ID GECOS HOMEDIR diff --git a/test/test-sysusers/test-4.input b/test/test-sysusers/test-4.input index 557f61c42b..85275cb497 100644 --- a/test/test-sysusers/test-4.input +++ b/test/test-sysusers/test-4.input @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later # Ensure that already created groups are used when using the uid:gid syntax # #Type Name ID GECOS HOMEDIR diff --git a/test/test-sysusers/test-5.input b/test/test-sysusers/test-5.input index 57519d7c9d..ac005d2884 100644 --- a/test/test-sysusers/test-5.input +++ b/test/test-sysusers/test-5.input @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later # Reproduce the base-passwd master.{passwd,group} from Debian # #Type Name ID GECOS Home directory diff --git a/test/test-sysusers/test-6.input b/test/test-sysusers/test-6.input index 764f57e825..f0b2c9c8d0 100644 --- a/test/test-sysusers/test-6.input +++ b/test/test-sysusers/test-6.input @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later # Ensure that existing IDs are not reused by default. I.e. the existing # ID 111 from g1 will cause u1 to get a new and different ID (999 on most # systems). diff --git a/test/test-sysusers/test-7.input b/test/test-sysusers/test-7.input index 4e10b74227..a7f1e57803 100644 --- a/test/test-sysusers/test-7.input +++ b/test/test-sysusers/test-7.input @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later # Issue #8315 # #Type Name ID GECOS HOMEDIR diff --git a/test/test-sysusers/test-8.input b/test/test-sysusers/test-8.input index b76dd3e20c..055e899bd5 100644 --- a/test/test-sysusers/test-8.input +++ b/test/test-sysusers/test-8.input @@ -1,2 +1,3 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later g groupname 300 u username -:300 diff --git a/test/test-sysusers/test-9.input b/test/test-sysusers/test-9.input index 4d536472c2..dd31ff1c3a 100644 --- a/test/test-sysusers/test-9.input +++ b/test/test-sysusers/test-9.input @@ -1,2 +1,3 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later u user1 300 u user2 -:300 diff --git a/test/test-sysusers/unhappy-1.input b/test/test-sysusers/unhappy-1.input index b8ed85525b..178382b002 100644 --- a/test/test-sysusers/unhappy-1.input +++ b/test/test-sysusers/unhappy-1.input @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later # Ensure invalid uids are detected # #Type Name ID GECOS HOMEDIR diff --git a/test/test-sysusers/unhappy-2.input b/test/test-sysusers/unhappy-2.input index 3266b2229b..8d527464a9 100644 --- a/test/test-sysusers/unhappy-2.input +++ b/test/test-sysusers/unhappy-2.input @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later # Ensure it is not allowed to create groups implicitly in the uid:gid syntax # #Type Name ID GECOS HOMEDIR diff --git a/test/test-sysusers/unhappy-3.input b/test/test-sysusers/unhappy-3.input index 64e60dd606..cd4de7e2e6 100644 --- a/test/test-sysusers/unhappy-3.input +++ b/test/test-sysusers/unhappy-3.input @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later # Ensure it is not allowed to create groups implicitly in the uid:groupname syntax # #Type Name ID GECOS HOMEDIR |