aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-11-18 19:31:13 -0800
committerJunio C Hamano <gitster@pobox.com>2012-11-18 19:31:14 -0800
commit3424da1118786209f7ac41dd273e72a081421cd3 (patch)
tree2241ed3255247b72991b501eab2754fc043740b3 /t
parentd6ecf5638d3363f41e862a90aa5e8d5e3ca3ab41 (diff)
parent7bc0911d037f0a144d8c227f58693da0c9c77b2a (diff)
downloadgit-3424da1118786209f7ac41dd273e72a081421cd3.tar.gz
git-3424da1118786209f7ac41dd273e72a081421cd3.tar.xz
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')
-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 514282cbd..489bc80fc 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