test_git.sh: use mapfile to split command output
Fixes SC2207. Part of #891.
This commit is contained in:
parent
4f0dc5679b
commit
0e81260572
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue