Improve test framework: colours on Max OS X

Fixes #7.
This commit is contained in:
Andrew Bettison 2012-08-24 16:30:41 +09:30
parent 3a6b424c2d
commit 25fbd6ffe0

View File

@ -371,19 +371,19 @@ _tfw_echo_result() {
local result="$1"
case "$result" in
ERROR | FATAL)
$_tfw_tput setf 4
$_tfw_tput setaf 1
$_tfw_tput rev
echo -n "$result"
$_tfw_tput sgr0
$_tfw_tput op
;;
;;
PASS)
$_tfw_tput setf 2
$_tfw_tput setaf 2
echo -n "$result"
$_tfw_tput op
;;
FAIL)
$_tfw_tput setf 4
$_tfw_tput setaf 1
echo -n "$result"
$_tfw_tput op
;;