summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-dynamicuser-supplementarygroups.service
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-execute/exec-dynamicuser-supplementarygroups.service')
-rw-r--r--test/test-execute/exec-dynamicuser-supplementarygroups.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test-execute/exec-dynamicuser-supplementarygroups.service b/test/test-execute/exec-dynamicuser-supplementarygroups.service
index d601af2..be1b8f7 100644
--- a/test/test-execute/exec-dynamicuser-supplementarygroups.service
+++ b/test/test-execute/exec-dynamicuser-supplementarygroups.service
@@ -3,8 +3,9 @@
Description=Test DynamicUser with SupplementaryGroups=
[Service]
-ExecStart=/bin/sh -x -c 'for g in $$(id -G); do test "$$g" = "1" && exit 0; done; exit 1'
-ExecStart=/bin/sh -x -c 'for g in $$(id -G); do test "$$g" = "2" && exit 0; done; exit 1'
+ExecStart=sh -x -c 'for g in $$(id -G); do test "$$g" = "1" && exit 0; done; exit 1'
+ExecStart=sh -x -c 'for g in $$(id -G); do test "$$g" = "2" && exit 0; done; exit 1'
Type=oneshot
DynamicUser=yes
SupplementaryGroups=1 2
+EnvironmentFile=-/usr/lib/systemd/systemd-asan-env