Permalink
Browse files

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
  • Loading branch information...
2 parents 70d1825 + 7bc0911 commit 4cd31a6320d28742a79ce3aed3e479670ccc159a @peff peff committed Oct 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 t/test-lib.sh
View
@@ -230,7 +230,7 @@ else
say_color() {
test -z "$1" && test -n "$quiet" && return
shift
- echo "$*"
+ printf "%s\n" "$*"
}
fi

0 comments on commit 4cd31a6

Please sign in to comment.