test_git.sh: use mapfile to split command output

Fixes SC2207. Part of #891.
This commit is contained in:
Raúl Benencia 2024-06-28 11:27:08 -07:00
parent 4f0dc5679b
commit 0e81260572
1 changed files with 1 additions and 1 deletions

View File

@ -828,7 +828,7 @@ function list_tests() {
}
# Figure out which, if any, tests to run.
all_tests=($(list_tests))
mapfile -t all_tests < <(list_tests)
tests_to_run=()
function print_tests() {