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
changes/84/18384/1
Vadim Yanitskiy 3 years ago
parent 984d09fb2f
commit aa94d32fa2

@ -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

Loading…
Cancel
Save