diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-11-18 19:31:13 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-11-18 19:31:14 -0800 |
commit | 3424da1118786209f7ac41dd273e72a081421cd3 (patch) | |
tree | 2241ed3255247b72991b501eab2754fc043740b3 | |
parent | Merge branch 'bw/config-lift-variable-name-length-limit' into maint (diff) | |
parent | test-lib: Fix say_color () not to interpret \a\b\c in the message (diff) | |
download | tgif-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
-rw-r--r-- | t/test-lib.sh | 2 |
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 |