Skip to content

Commit

Permalink
Merge branch 'jc/test-say-color-avoid-echo-escape' into maint
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Junio C Hamano committed Nov 19, 2012
2 parents d6ecf56 + 7bc0911 commit 3424da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/test-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ else
say_color() {
test -z "$1" && test -n "$quiet" && return
shift
echo "$*"
printf "%s\n" "$*"
}
fi

Expand Down

0 comments on commit 3424da1

Please sign in to comment.