diff options
author | Jeff King <peff@peff.net> | 2012-10-25 06:42:49 -0400 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2012-10-25 06:42:49 -0400 |
commit | 4cd31a6320d28742a79ce3aed3e479670ccc159a (patch) | |
tree | e6023d2422eb44254fe7f4620b03348e9cfa52d3 /t/test-lib.sh | |
parent | Merge branch 'nd/attr-match-optim' (diff) | |
parent | test-lib: Fix say_color () not to interpret \a\b\c in the message (diff) | |
download | tgif-4cd31a6320d28742a79ce3aed3e479670ccc159a.tar.xz |
Merge branch 'jc/test-say-color-avoid-echo-escape'
Recent nd/wildmatch series was the first to reveal this ancient bug
in the test scaffolding.
* 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.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 |