X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=test%2Fcommon.sh.in;h=a81e1565a0fa6b4b3bbb2efda861678d0a0556e8;hb=0f0af4e32a4d734209c16282b63f7cb1094e2699;hp=da526de5e827f1688978ed9f491bfc6a0833a5a1;hpb=bb8db313c1deea588b83a44a86e653d3cfcac9c1;p=mmh diff --git a/test/common.sh.in b/test/common.sh.in index da526de..a81e156 100644 --- a/test/common.sh.in +++ b/test/common.sh.in @@ -63,7 +63,7 @@ findprog() D=. fi if [ -f "$D/$PROG" -a -x "$D/$PROG" ]; then - printf "$D/$PROG" + printf '%s\n' "$D/$PROG" break fi done @@ -87,12 +87,12 @@ progress_update () # this automatically rounds to nearest integer arith_eval 100 \* $PROG / $RANGE; PERC=$arith_val # note \r so next update will overwrite - printf "%3d%%\r" $PERC + printf '%3d%%\r' $PERC } progress_done () { - printf "100%%\n" + printf '100%%\n' } check_for_hard_links () {