]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test-sysusers: check group creation with matching user entry 25107/head
authorLuca BRUNO <luca.bruno@coreos.com>
Thu, 3 Nov 2022 15:11:01 +0000 (15:11 +0000)
committerLuca BRUNO <luca.bruno@coreos.com>
Thu, 3 Nov 2022 15:12:15 +0000 (15:12 +0000)
test/test-sysusers/test-15.expected-group [new file with mode: 0644]
test/test-sysusers/test-15.expected-passwd [new file with mode: 0644]
test/test-sysusers/test-15.initial-passwd [new file with mode: 0644]
test/test-sysusers/test-15.input [new file with mode: 0644]

diff --git a/test/test-sysusers/test-15.expected-group b/test/test-sysusers/test-15.expected-group
new file mode 100644 (file)
index 0000000..1dbf901
--- /dev/null
@@ -0,0 +1 @@
+root:x:0:
diff --git a/test/test-sysusers/test-15.expected-passwd b/test/test-sysusers/test-15.expected-passwd
new file mode 100644 (file)
index 0000000..a880bd4
--- /dev/null
@@ -0,0 +1 @@
+root::0:0::/root:/bin/sh
diff --git a/test/test-sysusers/test-15.initial-passwd b/test/test-sysusers/test-15.initial-passwd
new file mode 100644 (file)
index 0000000..a880bd4
--- /dev/null
@@ -0,0 +1 @@
+root::0:0::/root:/bin/sh
diff --git a/test/test-sysusers/test-15.input b/test/test-sysusers/test-15.input
new file mode 100644 (file)
index 0000000..cc46672
--- /dev/null
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+# Create proper group when matching user entry is in place.
+#
+#Type Name ID GECOS        HOMEDIR
+u     root 0  "Super User" /root