test: Add simple test for supplementary groups

This commit is contained in:
Djalal Harouni
2016-10-23 23:27:14 +02:00
parent 4d885bd326
commit 86b838eaa3
3 changed files with 13 additions and 0 deletions
@@ -0,0 +1,7 @@
[Unit]
Description=Test for Supplementary Group
[Service]
ExecStart=/bin/sh -x -c 'test "$$(id -G)" = "0 1"'
Type=oneshot
SupplementaryGroups=1