From 556fc544b585d05e5d338a2a694d143fe95fd013 Mon Sep 17 00:00:00 2001 From: Phillip Davis Date: Tue, 10 Mar 2026 17:13:02 +0930 Subject: [PATCH 1/4] chore(ci): set TERM to xterm so that tput will work --- tests/acceptance/run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/acceptance/run.sh b/tests/acceptance/run.sh index b4fda56266e..12ca065fc53 100755 --- a/tests/acceptance/run.sh +++ b/tests/acceptance/run.sh @@ -34,6 +34,7 @@ then GREEN_COLOR=":" YELLOW_COLOR=":" else + [[ -z "$TERM" ]] && export TERM=xterm COLORS_OPTION="--colors" RED_COLOR="tput setaf 1" GREEN_COLOR="tput setaf 2" From 11f5d7618b58feda0adf2bf951684d9cd140fcdd Mon Sep 17 00:00:00 2001 From: Phillip Davis Date: Tue, 10 Mar 2026 17:36:37 +0930 Subject: [PATCH 2/4] test: find out what TERM is set to --- tests/acceptance/run.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/acceptance/run.sh b/tests/acceptance/run.sh index 12ca065fc53..f5ff90dd093 100755 --- a/tests/acceptance/run.sh +++ b/tests/acceptance/run.sh @@ -34,7 +34,9 @@ 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" From 639b44469937b49e216be81e954912cbd40a9297 Mon Sep 17 00:00:00 2001 From: Phillip Davis Date: Tue, 10 Mar 2026 18:00:19 +0930 Subject: [PATCH 3/4] chore: see how many colors tput has available --- tests/acceptance/run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/acceptance/run.sh b/tests/acceptance/run.sh index f5ff90dd093..bf262a22aca 100755 --- a/tests/acceptance/run.sh +++ b/tests/acceptance/run.sh @@ -41,6 +41,7 @@ else 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: From 5df1867e36267653cd606e73d1ff6b2656d6cda7 Mon Sep 17 00:00:00 2001 From: Phillip Davis Date: Thu, 12 Mar 2026 16:10:23 +0930 Subject: [PATCH 4/4] chore(ci): debug issue 41491 --- tests/acceptance/run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/acceptance/run.sh b/tests/acceptance/run.sh index bf262a22aca..ddb2b5ae170 100755 --- a/tests/acceptance/run.sh +++ b/tests/acceptance/run.sh @@ -1369,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:"