summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/241
diff options
context:
space:
mode:
authorThomas Huth2019-04-23 13:46:49 +0200
committerThomas Huth2019-05-21 10:10:33 +0200
commitf3d07ce8f449986e9a5c30f2a9f124e2ad8b7c22 (patch)
tree8ae07567f3f2ca794fb20dcdedf4ca36bca59423 /tests/qemu-iotests/241
parenttests/qemu-iotests/check: Pick a default machine if necessary (diff)
downloadqemu-f3d07ce8f449986e9a5c30f2a9f124e2ad8b7c22.tar.gz
qemu-f3d07ce8f449986e9a5c30f2a9f124e2ad8b7c22.tar.xz
qemu-f3d07ce8f449986e9a5c30f2a9f124e2ad8b7c22.zip
tests/qemu-iotests: Do not hard-code the path to bash
bash is installed in a different directory on non-Linux systems like FreeBSD. Do not hard-code /bin/bash here so that the tests can run there, too. Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Acked-by: Christian Borntraeger <borntraeger@de.ibm.com> Message-Id: <20190502084506.8009-4-thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/241')
-rwxr-xr-xtests/qemu-iotests/2412
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/241 b/tests/qemu-iotests/241
index 017a736aab..58b64ebf41 100755
--- a/tests/qemu-iotests/241
+++ b/tests/qemu-iotests/241
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# Test qemu-nbd vs. unaligned images
#