summaryrefslogtreecommitdiffstats
path: root/test/test-sysusers/test-7.input
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-09-26 11:58:24 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-10-01 17:52:51 +0200
commitbd7e6aa73ac213a7a23ad1837a4e7e0af21c9294 (patch)
tree8d1b917e1f5c9d909b41caf31385699f02f9d3b3 /test/test-sysusers/test-7.input
parentbasic/fileio: add chase_symlinks_and_fopen_unlocked() (diff)
downloadsystemd-bd7e6aa73ac213a7a23ad1837a4e7e0af21c9294.tar.xz
systemd-bd7e6aa73ac213a7a23ad1837a4e7e0af21c9294.zip
test/TEST-21-SYSUSERS: turn into a unit test
All this test does is manipulate text files in a subdir specified with --testroot. It can be a normal unittest without the overhead of creating a machine image. As a bonus, also test the .standalone version.
Diffstat (limited to 'test/test-sysusers/test-7.input')
-rw-r--r--test/test-sysusers/test-7.input26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/test-sysusers/test-7.input b/test/test-sysusers/test-7.input
new file mode 100644
index 0000000000..4e10b74227
--- /dev/null
+++ b/test/test-sysusers/test-7.input
@@ -0,0 +1,26 @@
+# Issue #8315
+#
+#Type Name ID GECOS HOMEDIR
+
+# default arch groups
+# groups first, because we have user/group id mismatch on ftp and mail
+g sys 3 - -
+g mem 8 - -
+g ftp 11 - -
+g mail 12 - -
+g log 19 - -
+g smmsp 25 - -
+g proc 26 - -
+g games 50 - -
+g lock 54 - -
+g network 90 - -
+g floppy 94 - -
+g scanner 96 - -
+g power 98 - -
+
+# default arch users
+u bin 1 - -
+u daemon 2 - -
+u mail 8 - /var/spool/mail
+u ftp 14 - /srv/ftp
+u http 33 - /srv/http