summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-runtimedirectory-owner.service
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-02-22 13:34:54 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-02-26 04:50:03 +0100
commitac1f08b92bcf8c0f1af68eb42f763fd469c41af1 (patch)
tree4da071e1b6e544ac270c870e45844aa0e1617d5e /test/test-execute/exec-runtimedirectory-owner.service
parentsystemd-sysv-install: avoid using ROOT variable from the environment (diff)
downloadsystemd-ac1f08b92bcf8c0f1af68eb42f763fd469c41af1.tar.xz
systemd-ac1f08b92bcf8c0f1af68eb42f763fd469c41af1.zip
test: use setup_fake_runtime_dir() in test-execute
Diffstat (limited to 'test/test-execute/exec-runtimedirectory-owner.service')
-rw-r--r--test/test-execute/exec-runtimedirectory-owner.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-execute/exec-runtimedirectory-owner.service b/test/test-execute/exec-runtimedirectory-owner.service
index 1f438c182e..54782f9bbd 100644
--- a/test/test-execute/exec-runtimedirectory-owner.service
+++ b/test/test-execute/exec-runtimedirectory-owner.service
@@ -2,7 +2,7 @@
Description=Test for RuntimeDirectory owner (must not be the default group of the user if Group is set)
[Service]
-ExecStart=/bin/sh -x -c 'group=$$(stat -c %%G /tmp/test-exec_runtimedirectory-owner); test "$$group" = "nobody"'
+ExecStart=/bin/sh -x -c 'group=$$(stat -c %%G %t/test-exec_runtimedirectory-owner); test "$$group" = "nobody"'
Type=oneshot
Group=nobody
User=root