Skip to content
Snippets Groups Projects
Commit 04f101e6 authored by Luis Araujo's avatar Luis Araujo Committed by Emanuele Aina
Browse files

Remove terminal colors in run-test-in-systemd


Remove setting terminal properties to show colored text.

This seems to break some tests in LAVA, and it is a feature not really
needed for LAVA test, so just remove it.

Signed-off-by: default avatarLuis Araujo <luis.araujo@collabora.co.uk>
parent 67247504
No related branches found
No related tags found
No related merge requests found
Pipeline #146820 passed
......@@ -323,15 +323,11 @@ fi
${as_target_user} rm -f "${filename}.tmp"
${as_target_user} rm -f "${filename}"
txtred=$(tput setaf 1)
txtgreen=$(tput setaf 2)
txtreset=$(tput sgr0)
echo ""
if [ "${exit_status}" = 0 ]; then
echo "${txtgreen}${txtreset} ${name}: test succeeded"
echo "${name}: test succeeded"
else
echo "${txtred}${txtreset} ${name}: test failed (exit=${exit_status})"
echo "${name}: test failed (exit=${exit_status})"
fi
if [ -n "${use_exit_status}" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment