[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v1 18/23] tests/qemu-iotests: Do not hard-code the p
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PATCH v1 18/23] tests/qemu-iotests: Do not hard-code the path to bash |
Date: |
Thu, 9 May 2019 17:59:06 +0100 |
From: Thomas Huth <address@hidden>
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>
Signed-off-by: Thomas Huth <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <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 6f085d573da..b0991ffe594 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 65cc3b39b13..d3e663ed65c 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 017a736aaba..58b64ebf41f 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 5838c6e89cb..e563761307d 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 d8e71223058..13978f93d24 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.20.1
- [Qemu-devel] [PATCH v1 17/23] tests/qemu-iotests/check: Pick a default machine if necessary, (continued)
- [Qemu-devel] [PATCH v1 17/23] tests/qemu-iotests/check: Pick a default machine if necessary, Alex Bennée, 2019/05/09
- [Qemu-devel] [PATCH v1 13/23] Makefile: fix coverage-report reference to BUILD_DIR, Alex Bennée, 2019/05/09
- [Qemu-devel] [PATCH v1 09/23] tests/tcg/minilib: support %c format char, Alex Bennée, 2019/05/09
- [Qemu-devel] [PATCH v1 11/23] tests/tcg/alpha: add system boot.S, Alex Bennée, 2019/05/09
- [Qemu-devel] [PATCH v1 07/23] tests/tcg/aarch64: add system boot.S, Alex Bennée, 2019/05/09
- [Qemu-devel] [PATCH v1 12/23] .travis.yml: enable aarch64-softmmu and alpha-softmmu tcg tests, Alex Bennée, 2019/05/09
- [Qemu-devel] [PATCH v1 19/23] cirrus / travis: Add gnu-sed and bash for macOS and FreeBSD, Alex Bennée, 2019/05/09
- [Qemu-devel] [PATCH v1 15/23] Makefile.target: support per-target coverage reports, Alex Bennée, 2019/05/09
- [Qemu-devel] [PATCH v1 14/23] Makefile: include per-target build directories in coverage report, Alex Bennée, 2019/05/09
- [Qemu-devel] [PATCH v1 18/23] tests/qemu-iotests: Do not hard-code the path to bash,
Alex Bennée <=
- [Qemu-devel] [PATCH v1 21/23] tests/qemu-iotests/group: Re-use the "auto" group for tests that can always run, Alex Bennée, 2019/05/09
- [Qemu-devel] [PATCH v1 16/23] tests/qemu-iotests/005: Add a sanity check for large sparse file support, Alex Bennée, 2019/05/09
- [Qemu-devel] [PATCH v1 23/23] tests: Run the iotests during "make check" again, Alex Bennée, 2019/05/09
- [Qemu-devel] [PATCH v1 20/23] tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests, Alex Bennée, 2019/05/09
- [Qemu-devel] [PATCH v1 22/23] tests/qemu-iotests: re-format output to for make check-block, Alex Bennée, 2019/05/09