summaryrefslogtreecommitdiff
path: root/test/test-sysusers/test-3.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-3.input
parentd338bfff4a083b64f405249c49b87f2b74a7d9b8 (diff)
downloadsystemd-bd7e6aa73ac213a7a23ad1837a4e7e0af21c9294.tar.gz
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-3.input')
-rw-r--r--test/test-sysusers/test-3.input10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/test-sysusers/test-3.input b/test/test-sysusers/test-3.input
new file mode 100644
index 0000000000..3257082cee
--- /dev/null
+++ b/test/test-sysusers/test-3.input
@@ -0,0 +1,10 @@
+# Ensure that the semantic for the uid:gid syntax is correct
+#
+#Type Name ID GECOS HOMEDIR
+g hoge 300 - -
+u foo 301 - -
+
+g baz 302 - -
+u aaa 303:302 - -
+u bbb 304:302 - -
+u ccc 305 - -