test: let the shell find "touch" instead of hard-coded "/bin/touch"

This commit is contained in:
Xi Ruoyao
2018-11-19 08:37:36 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent b8cb5effeb
commit b0fbf9bd40
+1 -1
View File
@@ -2,7 +2,7 @@
Description=Test for basic execution
[Service]
ExecStart=touch /tmp/a ; /bin/touch /tmp/b ; touch /tmp/c
ExecStart=touch /tmp/a ; /bin/sh -c 'touch /tmp/b' ; touch /tmp/c
ExecStart=test -f /tmp/a
ExecStart=!test -f /tmp/b
ExecStart=!!test -f /tmp/c