summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-11-21 17:38:43 +0100
committerMartin Pitt <martinpitt@users.noreply.github.com>2017-11-21 17:38:43 +0100
commit23209bcd37cb78d03baee669d20823a14757d143 (patch)
tree4fa3934490046fde37cf8396405e0dcab7c706a3 /test
parentfc696d52b967a4d84ac36c4478f8714db4f0a8f5 (diff)
downloadsystemd-23209bcd37cb78d03baee669d20823a14757d143.tar.gz
systemd-23209bcd37cb78d03baee669d20823a14757d143.tar.bz2
systemd-23209bcd37cb78d03baee669d20823a14757d143.zip
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.
Diffstat (limited to 'test')
-rwxr-xr-xtest/TEST-17-UDEV-WANTS/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TEST-17-UDEV-WANTS/test.sh b/test/TEST-17-UDEV-WANTS/test.sh
index 7beef7f398..24989ebcf6 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