From 1e31fdb76dff65b6406420a94e5b073f83a594cb Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Fri, 25 May 2018 12:47:02 -0700 Subject: [PATCH] fix openbsd color-display problem in system test output --- bin/tests/system/conf.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tests/system/conf.sh.in b/bin/tests/system/conf.sh.in index bf7e77e2ef..2d6c9632b6 100644 --- a/bin/tests/system/conf.sh.in +++ b/bin/tests/system/conf.sh.in @@ -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