Skip to contentSkip to conversation

tests/rebuild-expected-aml.sh: Modern shell scripting (use $() instead of ``)

PATCH New [email protected] 1 participant 1 message Oct 11, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/rebuild-expected-aml.sh: Modern shell scripting (use $() instead of ``)

Various shell files contain a mix of obsolete `` and modern $(); It would be nice to convert to use $() everywhere.

---
 tests/data/acpi/rebuild-expected-aml.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/tests/data/acpi/rebuild-expected-aml.sh
index f89d462..07c5814 100755

tests/data/acpi/rebuild-expected-aml.sh +1 -1
@@ -29,7 +29,7 @@ for qemu in $qemu_bins; do
     TEST_ACPI_REBUILD_AML=y QTEST_QEMU_BINARY=$qemu tests/bios-tables-test
 done
 
-eval `grep SRC_PATH= config-host.mak`
+eval $(grep SRC_PATH= config-host.mak)
 
 echo '/* List of comma-separated changed AML files to ignore */' >

${SRC_PATH}/tests/bios-tables-test-allowed-diff.h

Signature · 1 line
1.8.3.1