Commit 1e31fdb7 authored by Evan Hunt's avatar Evan Hunt

fix openbsd color-display problem in system test output

parent 17871ac9
Pipeline #1942 passed with stages
in 8 minutes and 52 seconds
......@@ -163,7 +163,7 @@ NZD=@NZD_TOOLS@
#
# Set up color-coded test output
#
if [ ${SYSTEMTEST_FORCE_COLOR:-0} -eq 1 ] || test -t 1 && type tput > /dev/null 2>&1 ; then
if [ ${SYSTEMTEST_FORCE_COLOR:-0} -eq 1 ] || test -t 1 && type tput > /dev/null 2>&1 && tput setaf 7 > /dev/null 2>&1 ; then
COLOR_END=`tput setaf 4` # blue
COLOR_FAIL=`tput setaf 1` # red
COLOR_INFO=`tput bold` # bold
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment