[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 11/13] tests/qemu-iotests: Do not hard-code the path
From: |
Thomas Huth |
Subject: |
[Qemu-devel] [PULL 11/13] tests/qemu-iotests: Do not hard-code the path to bash |
Date: |
Tue, 21 May 2019 12:53:42 +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 <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Acked-by: Christian Borntraeger <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Thomas Huth <address@hidden>
---
tests/qemu-iotests/239 | 2 +-
tests/qemu-iotests/240 | 2 +-
tests/qemu-iotests/241 | 2 +-
tests/qemu-iotests/243 | 2 +-
tests/qemu-iotests/244 | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/tests/qemu-iotests/239 b/tests/qemu-iotests/239
index 6f085d573d..b0991ffe59 100755
--- a/tests/qemu-iotests/239
+++ b/tests/qemu-iotests/239
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# Test case for dmg
#
diff --git a/tests/qemu-iotests/240 b/tests/qemu-iotests/240
index 65cc3b39b1..d3e663ed65 100755
--- a/tests/qemu-iotests/240
+++ b/tests/qemu-iotests/240
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# Test hot plugging and unplugging with iothreads
#
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
#
diff --git a/tests/qemu-iotests/243 b/tests/qemu-iotests/243
index 5838c6e89c..e563761307 100755
--- a/tests/qemu-iotests/243
+++ b/tests/qemu-iotests/243
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# Test qcow2 preallocation
#
diff --git a/tests/qemu-iotests/244 b/tests/qemu-iotests/244
index d8e7122305..13978f93d2 100755
--- a/tests/qemu-iotests/244
+++ b/tests/qemu-iotests/244
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# Test qcow2 with external data files
#
--
2.21.0
- [Qemu-devel] [PULL 02/13] tests/libqtest: Fix description of qtest_vinitf() and qtest_initf(), (continued)
- [Qemu-devel] [PULL 02/13] tests/libqtest: Fix description of qtest_vinitf() and qtest_initf(), Thomas Huth, 2019/05/21
- [Qemu-devel] [PULL 03/13] tests/libqos: Get rid of global_qtest dependency in qvring_init(), Thomas Huth, 2019/05/21
- [Qemu-devel] [PULL 04/13] tests/q35-test: Make test independent of global_qtest, Thomas Huth, 2019/05/21
- [Qemu-devel] [PULL 06/13] tests/qom-test: Use qtest_init() instead of qtest_start(), Thomas Huth, 2019/05/21
- [Qemu-devel] [PULL 05/13] tests/numa-test: Use qtest_init() instead of qtest_start(), Thomas Huth, 2019/05/21
- [Qemu-devel] [PULL 07/13] tests/device-introspect: Use qtest_init() instead of qtest_start(), Thomas Huth, 2019/05/21
- [Qemu-devel] [PULL 10/13] tests/qemu-iotests/check: Pick a default machine if necessary, Thomas Huth, 2019/05/21
- [Qemu-devel] [PULL 09/13] tests/qemu-iotests/005: Add a sanity check for large sparse file support, Thomas Huth, 2019/05/21
- [Qemu-devel] [PULL 08/13] tests/hd-geo-test: Use qtest_init() instead of qtest_start(), Thomas Huth, 2019/05/21
- [Qemu-devel] [PULL 12/13] cirrus / travis: Add gnu-sed and bash for macOS and FreeBSD, Thomas Huth, 2019/05/21
- [Qemu-devel] [PULL 11/13] tests/qemu-iotests: Do not hard-code the path to bash,
Thomas Huth <=
- [Qemu-devel] [PULL 13/13] tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests, Thomas Huth, 2019/05/21
- Re: [Qemu-devel] [PULL 00/13] qtests and some iotest patches, Peter Maydell, 2019/05/21