]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/test-execute/exec-supplementarygroups-single-group.service
Merge pull request #10262 from keszybz/hibres-disable
[thirdparty/systemd.git] / test / test-execute / exec-supplementarygroups-single-group.service
1 [Unit]
2 Description=Test for Supplementary Group with only one group
3
4 [Service]
5 ExecStart=/bin/sh -x -c 'HAVE=; for g in $$(id -G); do test "$$g" = "1" && HAVE=1; done; test "$$HAVE" -eq 1'
6 ExecStart=/bin/sh -x -c 'test "$$(id -g)" = "1" && test "$$(id -u)" = "0"'
7 Type=oneshot
8 Group=1
9 SupplementaryGroups=1