diff options
author | Zac Medico <zmedico@gentoo.org> | 2013-01-04 05:55:00 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2013-01-04 05:55:00 -0800 |
commit | eca3ec480f58919105251a543d69f4d698909a41 (patch) | |
tree | f30f024db123e6f899c356d2aa26f3ad4855df27 /runtests.sh | |
parent | ebuild-ipc: add FifoWriter class (diff) | |
download | portage-eca3ec480f58919105251a543d69f4d698909a41.tar.gz portage-eca3ec480f58919105251a543d69f4d698909a41.tar.bz2 portage-eca3ec480f58919105251a543d69f4d698909a41.zip |
runtests.sh summary: add minimum column width
Diffstat (limited to 'runtests.sh')
-rwxr-xr-x | runtests.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 )) |