Systemd/test/test-sysusers/test-5.expected-passwd
Zbigniew Jędrzejewski-Szmek bd7e6aa73a 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.
2020-10-01 17:52:51 +02:00

19 lines
588 B
Plaintext

root:x:0:0::/root:/bin/sh
daemon:x:1:1::/usr/sbin:NOLOGIN
bin:x:2:2::/bin:NOLOGIN
sys:x:3:3::/dev:NOLOGIN
sync:x:4:65534::/bin:NOLOGIN
games:x:5:60::/usr/games:NOLOGIN
man:x:6:12::/var/cache/man:NOLOGIN
lp:x:7:7::/var/spool/lpd:NOLOGIN
mail:x:8:8::/var/mail:NOLOGIN
news:x:9:9::/var/spool/news:NOLOGIN
uucp:x:10:10::/var/spool/uucp:NOLOGIN
proxy:x:13:13::/bin:NOLOGIN
www-data:x:33:33::/var/www:NOLOGIN
backup:x:34:34::/var/backups:NOLOGIN
list:x:38:38::/var/list:NOLOGIN
irc:x:39:39::/var/run/ircd:NOLOGIN
gnats:x:41:41::/var/lib/gnats:NOLOGIN
nobody:x:65534:65534::/nonexistent:NOLOGIN