tests/data/acpi: disassemble-aml: rename and change interpreter line
PATCH v2 1/1 tests/data/acpi: disassemble-aml: rename and change interpreter line
/usr/bin/bash isn't guaranteed to be present. Switch to /usr/bin/env bash.
Rename disassemle to disassemble in the same commit.
Adapt the correponding message in rebuild-expected-aml.
---
tests/data/acpi/{disassemle-aml.sh => disassemble-aml.sh} | 4 ++--
tests/data/acpi/rebuild-expected-aml.sh | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
rename tests/data/acpi/{disassemle-aml.sh => disassemble-aml.sh} (92%)tests/data/acpi/disassemble-aml.sh renamed from tests/data/acpi/disassemle-aml.sh +2 -2
@@ -1,4 +1,4 @@ -#!/usr/bin/bash +#!/usr/bin/env bash outdir= while getopts "o:" arg; do
@@ -7,7 +7,7 @@ while getopts "o:" arg; do outdir=$OPTARG ;; \? ) - echo "Usage: ./tests/data/acpi/disassemle-aml.sh [-o <output-directory>]" + echo "Usage: ./tests/data/acpi/disassemble-aml.sh [-o <output-directory>]" exit 1 ;;
tests/data/acpi/rebuild-expected-aml.sh +1 -1
@@ -57,7 +57,7 @@ old_allowed_dif=`grep -v -e 'List of comma-separated changed AML files to ignore echo '/* List of comma-separated changed AML files to ignore */' > ${SRC_PATH}/tests/qtest/bios-tables-test-allowed-diff.h echo "The files were rebuilt and can be added to git." -echo "You can use ${SRC_PATH}/tests/data/acpi/disassemle-aml.sh to disassemble them to ASL." +echo "You can use ${SRC_PATH}/tests/data/acpi/disassemble-aml.sh to disassemble them to ASL." if [ -z "$old_allowed_dif" ]; then echo "Note! Please do not commit expected files with source changes"
Signature · 1 line
2.50.1 (Apple Git-155)
Quoted 12 lines · Mohamed Mediouni
/usr/bin/bashisn't guaranteed to be present. Switch to/usr/bin/envbash.Rename disassemle to disassemble in the same commit.
Adapt the correponding message in rebuild-expected-aml.
Signed-off-by Mohamed Mediouni <[email protected]>
Quoted 44 lines
---
tests/data/acpi/{disassemle-aml.sh=>disassemble-aml.sh} | 4 ++--tests/data/acpi/rebuild-expected-aml.sh| 2 +-2 files changed, 3 insertions(+), 3 deletions(-)rename
tests/data/acpi/{disassemle-aml.sh=>disassemble-aml.sh} (92%)tests/data/acpi/disassemble-aml.sh renamed from tests/data/acpi/disassemle-aml.sh +1
-1@@ -1,4 +1,4 @@ -#!/usr/bin/bash +#!/usr/bin/env bashoutdir=
while getopts "o:" arg; dotests/data/acpi/disassemble-aml.sh renamed from tests/data/acpi/disassemle-aml.sh +1
-1@@ -7,7 +7,7 @@ while getopts "o:" arg; do outdir=$OPTARG ;; \? ) - echo "Usage: ./tests/data/acpi/disassemle-aml.sh [-o <output-directory>]" + echo "Usage: ./tests/data/acpi/disassemble-aml.sh [-o <output-directory>]" exit 1 ;;tests/data/acpi/rebuild-expected-aml.sh +0
-0@@ -57,7 +57,7 @@ old_allowed_dif=`grep -v -e 'List of comma-separated changed AML files to ignoreecho '/* List of comma-separated changed AML files to ignore */' >
${SRC_PATH}/tests/qtest/bios-tables-test-allowed-diff.hecho "The files were rebuilt and can be added to git."
tests/data/acpi/rebuild-expected-aml.sh +1
-1-echo "You can use ${SRC_PATH}/tests/data/acpi/disassemle-aml.sh to disassemble them to ASL." +echo "You can use ${SRC_PATH}/tests/data/acpi/disassemble-aml.sh to disassemble them to ASL."if [ -z "$old_allowed_dif" ]; then
echo "Note! Please do not commit expected files with source changes"Signature · 1 line
2.50.1 (Apple Git-155)