From: Lennart Poettering Date: Tue, 21 Nov 2017 16:38:43 +0000 (+0100) Subject: test: fix UDEV-WANTS testcase for non-bash shells (#7407) X-Git-Tag: v236~155 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=23209bcd37cb78d03baee669d20823a14757d143;p=thirdparty%2Fsystemd.git test: fix UDEV-WANTS testcase for non-bash shells (#7407) testsuite.sh uses "set -o pipefile", which is a bashism, hence use bash to invoke the script. --- diff --git a/test/TEST-17-UDEV-WANTS/test.sh b/test/TEST-17-UDEV-WANTS/test.sh index 7beef7f3984..24989ebcf6d 100755 --- a/test/TEST-17-UDEV-WANTS/test.sh +++ b/test/TEST-17-UDEV-WANTS/test.sh @@ -32,7 +32,7 @@ test_setup() { Description=Testsuite service [Service] -ExecStart=/bin/sh -x /testsuite.sh +ExecStart=/bin/bash -x /testsuite.sh Type=oneshot StandardOutput=tty StandardError=tty