]> git.proxmox.com Git - mirror_qemu.git/commitdiff
tests/qemu-iotests: Do not hard-code the path to bash
authorThomas Huth <thuth@redhat.com>
Tue, 23 Apr 2019 11:46:49 +0000 (13:46 +0200)
committerThomas Huth <thuth@redhat.com>
Tue, 21 May 2019 08:10:33 +0000 (10:10 +0200)
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>
tests/qemu-iotests/239
tests/qemu-iotests/240
tests/qemu-iotests/241
tests/qemu-iotests/243
tests/qemu-iotests/244

index 6f085d573dac47157905a55773bc0f91446c3de6..b0991ffe59470b4b8def7cfae9e9cc3545d78cf0 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # Test case for dmg
 #
index 65cc3b39b13fd23becc98ab7eac6e25efa90a5ab..d3e663ed65c2e888a2208d8fc726c34b7dc98dcc 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # Test hot plugging and unplugging with iothreads
 #
index 017a736aabaddb79ee78aef2636613a8762e215a..58b64ebf41f317354795c68540f7c1d2456590e8 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # Test qemu-nbd vs. unaligned images
 #
index 5838c6e89cb9abee0593490b8043421591816719..e563761307dac2dde494913c1b8e01672e6dbe7e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # Test qcow2 preallocation
 #
index d8e71223058ee1685cab3e8629311f209840d6f5..13978f93d2449e32847c5e08d8656132902a2f58 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # Test qcow2 with external data files
 #