]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/test-execute/exec-supplementarygroups-multiple-groups-withuid.service
src/basic: rename uid-alloc-range.[ch] to uid-classification.[ch]
[thirdparty/systemd.git] / test / test-execute / exec-supplementarygroups-multiple-groups-withuid.service
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2 [Unit]
3 Description=Test for Supplementary Group with multiple groups and Uid=1
4
5 [Service]
6 ExecStart=/bin/sh -x -c 'for g in $$(id -G); do test "$$g" = "1" && exit 0; done; exit 1'
7 ExecStart=/bin/sh -x -c 'for g in $$(id -G); do test "$$g" = "2" && exit 0; done; exit 1'
8 Type=oneshot
9 User=1
10 SupplementaryGroups=1 2