summaryrefslogtreecommitdiffstats
path: root/test/test-sysusers/test-13.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-13.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-13.input')
-rw-r--r--test/test-sysusers/test-13.input13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/test-sysusers/test-13.input b/test/test-sysusers/test-13.input
new file mode 100644
index 0000000000..bad2f09505
--- /dev/null
+++ b/test/test-sysusers/test-13.input
@@ -0,0 +1,13 @@
+# Ensure that the semantic for the uid:groupname syntax is correct
+#
+#Type Name ID GECOS HOMEDIR
+g hoge 300 - -
+u foo 301 - -
+
+g baz 302 - -
+u aaa 303:baz - -
+u bbb 304:baz - -
+u ccc 305 - -
+
+g yyy -
+u zzz 306:yyy