summaryrefslogtreecommitdiffstats
path: root/test/test-sysusers/unhappy-1.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/unhappy-1.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/unhappy-1.input')
-rw-r--r--test/test-sysusers/unhappy-1.input4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test-sysusers/unhappy-1.input b/test/test-sysusers/unhappy-1.input
new file mode 100644
index 0000000000..b8ed85525b
--- /dev/null
+++ b/test/test-sysusers/unhappy-1.input
@@ -0,0 +1,4 @@
+# Ensure invalid uids are detected
+#
+#Type Name ID GECOS HOMEDIR
+u u1 9999999999 - -