From eca3ec480f58919105251a543d69f4d698909a41 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 4 Jan 2013 05:55:00 -0800 Subject: [PATCH] runtests.sh summary: add minimum column width --- runtests.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/runtests.sh b/runtests.sh index 6dc0c4005..010a7bf6f 100755 --- a/runtests.sh +++ b/runtests.sh @@ -77,6 +77,7 @@ if [ ${#status_array[@]} -gt 0 ] ; then [ ${#version} -gt ${max_len} ] && max_len=${#version} done (( columns = max_len + 2 )) + (( columns >= 7 )) || columns=7 printf "\nSummary:\n\n" printf "| %-${columns}s | %s\n|" "Version" "Status" (( total_cols = columns + 11 )) -- 2.26.2