[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 6/7] tests/bios-tables: Improve portability by search
From: |
Thomas Huth |
Subject: |
[Qemu-devel] [PULL 6/7] tests/bios-tables: Improve portability by searching bash in the $PATH |
Date: |
Fri, 8 Mar 2019 10:18:42 +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>
Signed-off-by: Thomas Huth <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 bf9ba24..abdff70 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
--
1.8.3.1
- [Qemu-devel] [PULL 0/7] qtests, clean-ups and macOS CI testing, Thomas Huth, 2019/03/08
- [Qemu-devel] [PULL 1/7] tests: Move qdict-test-data.txt to tests/data/qobject/, Thomas Huth, 2019/03/08
- [Qemu-devel] [PULL 3/7] hw/devices: Remove unused TC6393XB_RAM definition, Thomas Huth, 2019/03/08
- [Qemu-devel] [PULL 2/7] hw: Remove unused 'hw/devices.h' include, Thomas Huth, 2019/03/08
- [Qemu-devel] [PULL 4/7] tests: Do not use "\n" in g_test_message() strings, Thomas Huth, 2019/03/08
- [Qemu-devel] [PULL 5/7] vhost-user-test: fix leaks, Thomas Huth, 2019/03/08
- [Qemu-devel] [PULL 6/7] tests/bios-tables: Improve portability by searching bash in the $PATH,
Thomas Huth <=
- [Qemu-devel] [PULL 7/7] cirrus.yml: Add macOS continuous integration task, Thomas Huth, 2019/03/08
- Re: [Qemu-devel] [PULL 0/7] qtests, clean-ups and macOS CI testing, Peter Maydell, 2019/03/08