From: Evgeny Vereshchagin Date: Fri, 6 Nov 2015 15:42:06 +0000 (+0000) Subject: test-execute: don't use /usr/bin/uname. use sh and PATH X-Git-Tag: v228~90^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1800%2Fhead;p=thirdparty%2Fsystemd.git test-execute: don't use /usr/bin/uname. use sh and PATH --- diff --git a/test/test-execute/exec-systemcallerrornumber.service b/test/test-execute/exec-systemcallerrornumber.service index 255a8b231a8..b11a952bd62 100644 --- a/test/test-execute/exec-systemcallerrornumber.service +++ b/test/test-execute/exec-systemcallerrornumber.service @@ -2,6 +2,6 @@ Description=Test for SystemCallErrorNumber [Service] -ExecStart=/usr/bin/uname -a +ExecStart=/bin/sh -c 'uname -a' SystemCallFilter=~uname SystemCallErrorNumber=EACCES