Skip to content

Commit

Permalink
Acerto na formatação dos resultados, no Mac OS.
Browse files Browse the repository at this point in the history
  • Loading branch information
niloct committed Jun 17, 2021
1 parent 27f644b commit 60f5160
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clitest
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,8 @@ fi
if test $tt_nr_files -gt 1 && test "$tt_output_mode" != 'quiet'; then
echo
printf ' %5s %5s %5s\n' ok fail skip
printf %s "$tt_files_stats" | while read -r ok fail skip; do
# Valores de ok, fail e skip estão separados por espaço, logo mudamos IFS
printf %s "$tt_files_stats" | while IFS=' ' read -r ok fail skip; do
printf ' %5s %5s %5s %s\n' "$ok" "$fail" "$skip" "$1"
shift
done | sed 's/ 0/ -/g' # hide zeros
Expand Down

0 comments on commit 60f5160

Please sign in to comment.