From 55b7bf043a09324b5b29af69801ddabdda1775c0 Mon Sep 17 00:00:00 2001 From: Flo Date: Tue, 31 Mar 2026 19:40:07 +0200 Subject: [PATCH] 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 --- test/e2e.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/e2e.sh b/test/e2e.sh index b9cc9a0..2948ffe 100755 --- a/test/e2e.sh +++ b/test/e2e.sh @@ -262,7 +262,7 @@ print_summary() { for result_file in "${RESULTS_DIR}"/*.result; do [ -f "$result_file" ] || continue local d s t - read -r d s t < "$result_file" + IFS=' ' read -r d s t < "$result_file" local color="$C_GREEN" if [ "$s" = "SKIP" ]; then @@ -357,7 +357,9 @@ main() { done 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 local i=0 while [ "$i" -lt "${#pids[@]}" ]; do