fix: e2e summary table alignment and color

IFS=$'\n\t' broke space-delimited read in summary and array join
in parallel status message. Use explicit IFS=' ' where needed.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Flo
2026-03-31 19:40:07 +02:00
parent cb72a5feca
commit 55b7bf043a

View File

@@ -262,7 +262,7 @@ print_summary() {
for result_file in "${RESULTS_DIR}"/*.result; do for result_file in "${RESULTS_DIR}"/*.result; do
[ -f "$result_file" ] || continue [ -f "$result_file" ] || continue
local d s t local d s t
read -r d s t < "$result_file" IFS=' ' read -r d s t < "$result_file"
local color="$C_GREEN" local color="$C_GREEN"
if [ "$s" = "SKIP" ]; then if [ "$s" = "SKIP" ]; then
@@ -357,7 +357,9 @@ main() {
done done
if [ ${#pids[@]} -gt 0 ]; then if [ ${#pids[@]} -gt 0 ]; then
info "Running ${#pids[@]} distro(s) in parallel: ${pid_distros[*]}" local distro_list
distro_list="$(IFS=' '; printf '%s' "${pid_distros[*]}")"
info "Running ${#pids[@]} distro(s) in parallel: ${distro_list}"
# Wait for all background jobs # Wait for all background jobs
local i=0 local i=0
while [ "$i" -lt "${#pids[@]}" ]; do while [ "$i" -lt "${#pids[@]}" ]; do