]> git.ipfire.org Git - thirdparty/systemd.git/blame - test/test-execute/exec-supplementarygroups-multiple-groups-withgid.service
resolved: add missing error code check when initializing DNS-over-TLS
[thirdparty/systemd.git] / test / test-execute / exec-supplementarygroups-multiple-groups-withgid.service
CommitLineData
50ca7a35
DH
1[Unit]
2Description=Test for Supplementary Group with multiple groups and Group=1
3
4[Service]
ccac6256
DC
5ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "1" && HAVE=1; done; test "$$HAVE" -eq 1'
6ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "2" && HAVE=1; done; test "$$HAVE" -eq 1'
7ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "3" && HAVE=1; done; test "$$HAVE" -eq 1'
b75f0c69 8ExecStart=/bin/sh -x -c 'test "$$(id -g)" = "1" && test "$$(id -u)" = "%U"'
50ca7a35
DH
9Type=oneshot
10Group=1
11SupplementaryGroups=1 2 3