Browse Source

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
maint
Junio C Hamano 12 years ago
parent
commit
3424da1118
  1. 2
      t/test-lib.sh

2
t/test-lib.sh

@ -230,7 +230,7 @@ else @@ -230,7 +230,7 @@ else
say_color() {
test -z "$1" && test -n "$quiet" && return
shift
echo "$*"
printf "%s\n" "$*"
}
fi


Loading…
Cancel
Save