fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18384 )


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

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
---
M ttcn3-tcpdump-stop.sh
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/84/18384/1

diff --git a/ttcn3-tcpdump-stop.sh b/ttcn3-tcpdump-stop.sh
index 1f4da3d..30d331d 100755
--- a/ttcn3-tcpdump-stop.sh
+++ b/ttcn3-tcpdump-stop.sh
@@ -22,9 +22,9 @@
 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


--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18384
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I0cc77b4de764c7afd6416512a181c4c1610ce369
Gerrit-Change-Number: 18384
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <axilira...@gmail.com>
Gerrit-MessageType: newchange

Reply via email to