Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions tests/acceptance/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:"
Expand Down
Loading