Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-11-19 07:31:13 +0400
committerJunio C Hamano <gitster@pobox.com>2012-11-19 07:31:14 +0400
commit3424da1118786209f7ac41dd273e72a081421cd3 (patch)
tree2241ed3255247b72991b501eab2754fc043740b3 /t/test-lib.sh
parentd6ecf5638d3363f41e862a90aa5e8d5e3ca3ab41 (diff)
parent7bc0911d037f0a144d8c227f58693da0c9c77b2a (diff)
Merge branch 'jc/test-say-color-avoid-echo-escape' into maint
The "say" function in the test scaffolding incorrectly allowed "echo" to interpret "\a" as if it were a C-string asking for a BEL output. * jc/test-say-color-avoid-echo-escape: test-lib: Fix say_color () not to interpret \a\b\c in the message
Diffstat (limited to 't/test-lib.sh')
-rw-r--r--t/test-lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 514282cbdf..489bc80fc1 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -230,7 +230,7 @@ else
say_color() {
test -z "$1" && test -n "$quiet" && return
shift
- echo "$*"
+ printf "%s\n" "$*"
}
fi