]> git.ipfire.org Git - thirdparty/systemd.git/blame - test/test-execute/exec-dynamicuser-fixeduser-adm.service
resolved: add missing error code check when initializing DNS-over-TLS
[thirdparty/systemd.git] / test / test-execute / exec-dynamicuser-fixeduser-adm.service
CommitLineData
9f82d685
YW
1[Unit]
2Description=Test DynamicUser with static User= whose uid and gid are different
3# On Fedora, user adm has uid==3 and gid==4.
4
5[Service]
6Type=oneshot
7ExecStart=/bin/sh -x -c 'test "$$(id -nG)" = "adm" && test "$$(id -ng)" = "adm" && test "$$(id -nu)" = "adm"'
8# Multiple ExecStart= lines causes the issue #9702.
9ExecStart=/bin/sh -x -c 'test "$$(id -nG)" = "adm" && test "$$(id -ng)" = "adm" && test "$$(id -nu)" = "adm"'
10DynamicUser=yes
11User=adm