From: Xi Ruoyao Date: Sun, 18 Nov 2018 18:51:25 +0000 (+0800) Subject: test: let the shell find "touch" instead of hard-coded "/bin/touch" X-Git-Tag: v240~289 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0fbf9bd4051473f53ce3ac9d749d16b1415a2d2;p=thirdparty%2Fsystemd.git test: let the shell find "touch" instead of hard-coded "/bin/touch" --- diff --git a/test/test-execute/exec-basic.service b/test/test-execute/exec-basic.service index 456f06951ac..8b672fcecbc 100644 --- a/test/test-execute/exec-basic.service +++ b/test/test-execute/exec-basic.service @@ -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