[2/3] gdb/testsuite: fix shellcheck issues in make-check-all.sh

Message ID 7a3d18d421045d093b31e49a0542852ff50a8288.1784373976.git.aburgess@redhat.com
State New
Headers
Series Improvements to make-check-all.sh and check-all-boards |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 success Build passed
linaro-tcwg-bot/tcwg_gdb_build--master-arm success Build passed
linaro-tcwg-bot/tcwg_gdb_check--master-arm success Test passed
linaro-tcwg-bot/tcwg_gdb_check--master-aarch64 success Test passed

Commit Message

Andrew Burgess July 18, 2026, 11:27 a.m. UTC
  Fix shellcheck issues in the make-check-all.sh script.  These are just
quoting issues, and should have no functional impact.

There should be no changes in what is tested after this commit.
---
 gdb/testsuite/make-check-all.sh | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
  

Patch

diff --git a/gdb/testsuite/make-check-all.sh b/gdb/testsuite/make-check-all.sh
index c46cd8de4ed..3cf6b46cdb0 100755
--- a/gdb/testsuite/make-check-all.sh
+++ b/gdb/testsuite/make-check-all.sh
@@ -320,7 +320,7 @@  main ()
     for b in "${target_boards[@]}"; do
 	echo "TARGET BOARD: $b"
 	rtf=(
-	    --target_board="$b"
+	    "--target_board=$b"
 	)
 	rtf_for_board "$b"
 	maketarget_for_board "$b"
@@ -332,7 +332,7 @@  main ()
     for b in "${gdbserver_boards[@]}" "${remote_gdbserver_boards[@]}"; do
 	echo "TARGET BOARD: $b"
 	rtf=(
-	    --target_board="$b"
+	    "--target_board=$b"
 	)
 	rtf_for_board "$b"
 	maketarget_for_board "$b"
@@ -345,8 +345,8 @@  main ()
 	for b in "${remote_gdbserver_boards[@]}"; do
 	    echo "HOST BOARD: $h, TARGET BOARD: $b"
 	    rtf=(
-		--host_board="$h"
-		--target_board="$b"
+		"--host_board=$h"
+		"--target_board=$b"
 	    )
 	    rtf_for_board "$h"
 	    rtf_for_board "$b"
@@ -360,8 +360,8 @@  main ()
     for b in "${host_target_boards[@]}"; do
 	echo "HOST/TARGET BOARD: $b"
 	rtf=(
-	    --host_board="$b"
-	    --target_board="$b"
+	    "--host_board=$b"
+	    "--target_board=$b"
 	)
 	rtf_for_board "$b"
 	maketarget_for_board "$b"