]> git.ipfire.org Git - thirdparty/systemd.git/blame - test/test-execute/exec-supplementarygroups-single-group-user.service
tests: add spdx license header to test unit/link/network/conf files
[thirdparty/systemd.git] / test / test-execute / exec-supplementarygroups-single-group-user.service
CommitLineData
22d3cfe5 1# SPDX-License-Identifier: LGPL-2.1-or-later
bf9ace96
DH
2[Unit]
3Description=Test for Supplementary Group with only one group and uid 1
4
5[Service]
ccac6256 6ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "1" && HAVE=1; done; test "$$HAVE" -eq 1'
491d3911 7ExecStart=/bin/sh -x -c 'test "$$(id -g)" = "1" && test "$$(id -u)" = "1"'
bf9ace96
DH
8Type=oneshot
9User=1
10Group=1
11SupplementaryGroups=1