test_e2e.sh: use mapfile to split command output

Fixes SC2207. Part of #891.
This commit is contained in:
Raúl Benencia 2024-06-23 10:56:29 -07:00
parent 74f9f71773
commit 873b5ff4ff
1 changed files with 1 additions and 1 deletions

View File

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