From e77f7b404ab40f585aab61d84c05686cd0b2824e Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 4 Oct 2017 19:26:44 +1100 Subject: [PATCH] stderr to /dev/null also (cherry picked from commit 4615bc540843a6dc1d2195cdeae39bbe0de18d19) --- 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 f9228d7434..141534a336 100644 --- a/bin/tests/system/conf.sh.in +++ b/bin/tests/system/conf.sh.in @@ -138,7 +138,7 @@ NZD=@NZD_TOOLS@ # # Set up color-coded test output # -if test -t 1 && type tput > /dev/null; then +if test -t 1 && type tput > /dev/null 2>&1 ; then COLOR_FAIL=`tput setaf 1` # red COLOR_WARN=`tput setaf 3` # yellow COLOR_PASS=`tput setaf 2` # green