]> git.proxmox.com Git - systemd.git/blame - test/test-execute/exec-supplementarygroups-multiple-groups-withuid.service
New upstream version 240
[systemd.git] / test / test-execute / exec-supplementarygroups-multiple-groups-withuid.service
CommitLineData
8a584da2
MP
1[Unit]
2Description=Test for Supplementary Group with multiple groups and Uid=1
3
4[Service]
6e866b33
MB
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'
8a584da2
MP
8Type=oneshot
9User=1
10SupplementaryGroups=1 2 3