ttcn3-tcpdump-stop.sh: fix echo: add -e to enable colors

This change enables interpretation of backslash escapes for echo,
so the test case execution summary is always printed in color.

Change-Id: I0cc77b4de764c7afd6416512a181c4c1610ce369
This commit is contained in:
Vadim Yanitskiy 2020-05-21 20:36:33 +07:00
parent 984d09fb2f
commit aa94d32fa2
1 changed files with 2 additions and 2 deletions

View File

@ -22,9 +22,9 @@ fi
date
if [ x"$VERDICT" = x"pass" ]; then
echo "\033[1;32m====== $TESTCASE $VERDICT ======\033[0m"
echo -e "\033[1;32m====== $TESTCASE $VERDICT ======\033[0m"
else
echo "\033[1;31m------ $TESTCASE $VERDICT ------\033[0m"
echo -e "\033[1;31m------ $TESTCASE $VERDICT ------\033[0m"
fi
echo