summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-08-01 11:52:43 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-08-01 11:52:43 -0700
commita5203a3f044ced7904800f3f233451474c1d5120 (patch)
tree13c6af9a3c8e9fdb2dcaf3b5345a5355e8caaa10 /t
parentMerge branch 'ma/hg-to-git' (diff)
parentAvoid using `echo -n` anywhere (diff)
downloadtgif-a5203a3f044ced7904800f3f233451474c1d5120.tar.xz
Merge branch 'lf/echo-n-is-not-portable'
* lf/echo-n-is-not-portable: Avoid using `echo -n` anywhere
Diffstat (limited to 't')
-rw-r--r--t/perf/perf-lib.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/perf/perf-lib.sh b/t/perf/perf-lib.sh
index c61d5351e1..f4eecaa171 100644
--- a/t/perf/perf-lib.sh
+++ b/t/perf/perf-lib.sh
@@ -161,7 +161,7 @@ test_perf () {
echo "$test_count" >>"$perf_results_dir"/$base.subtests
echo "$1" >"$perf_results_dir"/$base.$test_count.descr
if test -z "$verbose"; then
- echo -n "perf $test_count - $1:"
+ printf "%s" "perf $test_count - $1:"
else
echo "perf $test_count - $1:"
fi
@@ -170,7 +170,7 @@ test_perf () {
if test_run_perf_ "$2"
then
if test -z "$verbose"; then
- echo -n " $i"
+ printf " %s" "$i"
else
echo "* timing run $i/$GIT_PERF_REPEAT_COUNT:"
fi