Skip to content

Commit 0e81260

Browse files
committed
test_git.sh: use mapfile to split command output
Fixes SC2207. Part of #891.
1 parent 4f0dc56 commit 0e81260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test_git.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ function list_tests() {
828828
}
829829

830830
# Figure out which, if any, tests to run.
831-
all_tests=($(list_tests))
831+
mapfile -t all_tests < <(list_tests)
832832
tests_to_run=()
833833

834834
function print_tests() {

0 commit comments

Comments
 (0)