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

This commit is contained in:
Xi Ruoyao 2018-11-19 02:51:25 +08:00 committed by Zbigniew Jędrzejewski-Szmek
parent b8cb5effeb
commit b0fbf9bd40
1 changed files with 1 additions and 1 deletions

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