projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e489dce
)
runtests.sh summary: add minimum column width
author
Zac Medico
<zmedico@gentoo.org>
Fri, 4 Jan 2013 13:55:00 +0000
(
05:55
-0800)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 4 Jan 2013 13:55:00 +0000
(
05:55
-0800)
runtests.sh
patch
|
blob
|
history
diff --git
a/runtests.sh
b/runtests.sh
index 6dc0c4005f78234e4656adc927d05273936632e1..010a7bf6fab573aafcbae626a022cd0becd054e3 100755
(executable)
--- 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 ))