diff options
author | Michael Vogt <mvo@ubuntu.com> | 2018-01-24 11:46:10 +0100 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2018-01-25 12:51:06 +0100 |
commit | e2c2060f7b3b11fa3cca8899d80963b7a05cc4ab (patch) | |
tree | 52d03a94a23eaf35453b855db5d59cf7591971f8 /test/TEST-21-SYSUSERS | |
parent | test: add TEST-21-SYSUSERS test (diff) | |
download | systemd-e2c2060f7b3b11fa3cca8899d80963b7a05cc4ab.tar.xz systemd-e2c2060f7b3b11fa3cca8899d80963b7a05cc4ab.zip |
sysusers: make ADD_GROUP always create a group
Do not merge group creation with user creation because with the
new uid:gid syntax this can result in confusing (and unwanted)
behavior.
Diffstat (limited to 'test/TEST-21-SYSUSERS')
-rw-r--r-- | test/TEST-21-SYSUSERS/test-4.expected-group | 1 | ||||
-rw-r--r-- | test/TEST-21-SYSUSERS/test-4.expected-passwd | 2 | ||||
-rw-r--r-- | test/TEST-21-SYSUSERS/test-4.input | 3 |
3 files changed, 6 insertions, 0 deletions
diff --git a/test/TEST-21-SYSUSERS/test-4.expected-group b/test/TEST-21-SYSUSERS/test-4.expected-group new file mode 100644 index 0000000000..64913a5f50 --- /dev/null +++ b/test/TEST-21-SYSUSERS/test-4.expected-group @@ -0,0 +1 @@ +xxx:x:310: diff --git a/test/TEST-21-SYSUSERS/test-4.expected-passwd b/test/TEST-21-SYSUSERS/test-4.expected-passwd new file mode 100644 index 0000000000..e0370a4023 --- /dev/null +++ b/test/TEST-21-SYSUSERS/test-4.expected-passwd @@ -0,0 +1,2 @@ +yyy:x:311:310::/:/sbin/nologin +xxx:x:312:310::/:/sbin/nologin diff --git a/test/TEST-21-SYSUSERS/test-4.input b/test/TEST-21-SYSUSERS/test-4.input new file mode 100644 index 0000000000..620423eab4 --- /dev/null +++ b/test/TEST-21-SYSUSERS/test-4.input @@ -0,0 +1,3 @@ +g xxx 310 +u yyy 311:310 +u xxx 312:310 |