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
This commit is contained in:
@ -230,7 +230,7 @@ else
|
|||||||
say_color() {
|
say_color() {
|
||||||
test -z "$1" && test -n "$quiet" && return
|
test -z "$1" && test -n "$quiet" && return
|
||||||
shift
|
shift
|
||||||
echo "$*"
|
printf "%s\n" "$*"
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user