]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: fix UDEV-WANTS testcase for non-bash shells (#7407)
authorLennart Poettering <lennart@poettering.net>
Tue, 21 Nov 2017 16:38:43 +0000 (17:38 +0100)
committerMartin Pitt <martinpitt@users.noreply.github.com>
Tue, 21 Nov 2017 16:38:43 +0000 (17:38 +0100)
testsuite.sh uses "set -o pipefile", which is a bashism, hence use bash
to invoke the script.

test/TEST-17-UDEV-WANTS/test.sh

index 7beef7f3984273512bb0763b25504c01a54fe15b..24989ebcf6ded82f5570712e5e832820ad014943 100755 (executable)
@@ -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