[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 08/33] tests/bios-tables: Improve portability by sear
From: |
Kevin Wolf |
Subject: |
[Qemu-devel] [PULL 08/33] tests/bios-tables: Improve portability by searching bash in the $PATH |
Date: |
Fri, 8 Mar 2019 13:57:58 +0100 |
From: Philippe Mathieu-Daudé <address@hidden>
Bash is not always installed as /bin/bash. In particular on OpenBSD,
the package installs it in /usr/local/bin.
Use the 'env' shebang to search bash in the $PATH.
Reviewed-by: Kamil Rytarowski <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Acked-by: Thomas Huth <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
---
tests/data/acpi/rebuild-expected-aml.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/data/acpi/rebuild-expected-aml.sh
b/tests/data/acpi/rebuild-expected-aml.sh
index bf9ba242ad..abdff70a0d 100755
--- a/tests/data/acpi/rebuild-expected-aml.sh
+++ b/tests/data/acpi/rebuild-expected-aml.sh
@@ -1,4 +1,4 @@
-#! /bin/bash
+#!/usr/bin/env bash
#
# Rebuild expected AML files for acpi unit-test
--
2.20.1
- [Qemu-devel] [PULL 00/33] Block layer patches, Kevin Wolf, 2019/03/08
- [Qemu-devel] [PULL 01/33] iotests: use iotests.VM in 238, Kevin Wolf, 2019/03/08
- [Qemu-devel] [PULL 02/33] qcow2: Default to 4KB for the qcow2 cache entry size, Kevin Wolf, 2019/03/08
- [Qemu-devel] [PULL 03/33] iotests: open notrun files in text mode, Kevin Wolf, 2019/03/08
- [Qemu-devel] [PULL 04/33] block: iterate_format with account of whitelisting, Kevin Wolf, 2019/03/08
- [Qemu-devel] [PULL 05/33] iotests: ask QEMU for supported formats, Kevin Wolf, 2019/03/08
- [Qemu-devel] [PULL 06/33] iotests: check whitelisted formats, Kevin Wolf, 2019/03/08
- [Qemu-devel] [PULL 13/33] qcow2: Extend spec for external data files, Kevin Wolf, 2019/03/08
- [Qemu-devel] [PULL 08/33] tests/bios-tables: Improve portability by searching bash in the $PATH,
Kevin Wolf <=
- [Qemu-devel] [PULL 07/33] tests/multiboot: Improve portability by searching bash in the $PATH, Kevin Wolf, 2019/03/08
- [Qemu-devel] [PULL 12/33] qcow2: Simplify preallocation code, Kevin Wolf, 2019/03/08
- [Qemu-devel] [PULL 11/33] qemu-iotests: Test qcow2 preallocation modes, Kevin Wolf, 2019/03/08
- [Qemu-devel] [PULL 10/33] qemu-iotests: Ensure GNU sed is used, Kevin Wolf, 2019/03/08
- [Qemu-devel] [PULL 14/33] qcow2: Basic definitions for external data files, Kevin Wolf, 2019/03/08
- [Qemu-devel] [PULL 17/33] qcow2: Prepare count_contiguous_clusters() for external data file, Kevin Wolf, 2019/03/08
- [Qemu-devel] [PULL 18/33] qcow2: Don't assume 0 is an invalid cluster offset, Kevin Wolf, 2019/03/08
- [Qemu-devel] [PULL 20/33] qcow2: Prepare qcow2_co_block_status() for data file, Kevin Wolf, 2019/03/08
- [Qemu-devel] [PULL 15/33] qcow2: Pass bs to qcow2_get_cluster_type(), Kevin Wolf, 2019/03/08
- [Qemu-devel] [PULL 23/33] qcow2: Support external data file in qemu-img check, Kevin Wolf, 2019/03/08