diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-08-01 11:52:43 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-08-01 11:52:43 -0700 |
commit | a5203a3f044ced7904800f3f233451474c1d5120 (patch) | |
tree | 13c6af9a3c8e9fdb2dcaf3b5345a5355e8caaa10 /t/perf | |
parent | 400bf4c46b2bf01cca2658c7d7b4774d7a711486 (diff) | |
parent | 19c3c5fdcb35b66b792534c5dc4e8d87a3952d2a (diff) | |
download | git-a5203a3f044ced7904800f3f233451474c1d5120.tar.gz |
Merge branch 'lf/echo-n-is-not-portable'
* lf/echo-n-is-not-portable:
Avoid using `echo -n` anywhere
Diffstat (limited to 't/perf')
-rw-r--r-- | t/perf/perf-lib.sh | 4 |
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 |