diff --git a/tests/test-lib.sh b/tests/test-lib.sh index 768f96b2bffa39359bdfc5e14bc7ea3545934af7..527dfda3834137e967ac650ccb7dbf577b905af9 100644 --- a/tests/test-lib.sh +++ b/tests/test-lib.sh @@ -54,13 +54,8 @@ test_final() status=$2 if test "$verbose" = "0" ; then - mod=`expr \( $counter + 1 \) % 40` - if test "$mod" != "0" && test "$mod" != "1" ; then - for i in `seq $mod 40` - do - printf " " - done - fi + len=`expr 40 - \( $counter % 40 \)` + printf "%${len}s" "" if test "$status" = "0" ; then printf " %-3d OK\n" $counter else