]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - test/test-execute/exec-group.service
test-execute: Fix systemd escaping and shell issues
[thirdparty/systemd.git] / test / test-execute / exec-group.service
index 1aa04b5bd26cc956366fe98ebea3da2acda0c4b7..be7c7969127835ffab3854906d836fa0984b8211 100644 (file)
@@ -2,5 +2,6 @@
 Description=Test for Group
 
 [Service]
-ExecStart=/bin/sh -c 'exit $(test $(id -n -g) = nobody)'
+ExecStart=/bin/sh -x -c 'test "$$(id -n -g)" = "nobody"'
+Type=oneshot
 Group=nobody