diff --git a/tests/acceptance/run.sh b/tests/acceptance/run.sh index b4fda56266e..ddb2b5ae170 100755 --- a/tests/acceptance/run.sh +++ b/tests/acceptance/run.sh @@ -34,10 +34,14 @@ then GREEN_COLOR=":" YELLOW_COLOR=":" else + echo $TERM + [[ -z "$TERM" ]] && export TERM=xterm + echo $TERM COLORS_OPTION="--colors" RED_COLOR="tput setaf 1" GREEN_COLOR="tput setaf 2" YELLOW_COLOR="tput setaf 3" + tput colors fi # The following environment variables can be specified: @@ -1365,6 +1369,10 @@ then echo "runsh: Exit code after checking expected failures: ${FINAL_EXIT_STATUS}" fi +echo $TERM +tput colors +tput setaf 2; echo "some green text" + if [ "${UNEXPECTED_FAILURE}" = true ] then ${YELLOW_COLOR}; echo "runsh: Total unexpected failed scenarios throughout the test run:"