mirror_iproute2/testsuite
Petr Vorel 261a5290dd testsuite: Fix colorize
bash and dash require for escape sequence to use 'echo -e' or printf
(but working on zsh). Choosing printf as it's implementation is IMHO
more portable than echo implementations.
dash also require to use \033[0; as escape sequence instead of \e[0;

NOTE: \e[0; kept in lib/color.c as it's not problematic for C code
(working when run ip on various shells).

Fixes: 7e2f71b4 ("testsuite: colorize test result output")

Signed-off-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
2018-12-20 20:16:28 -08:00
..
iproute2 SPDX license identifiers 2017-11-24 12:21:35 -08:00
lib testsuite: Prepare for ss tests 2018-08-15 14:25:18 -07:00
tests tests: Use /bin/sh shebang 2018-12-18 10:52:35 -08:00
tools testsuite: correctly use CC macros for generate_nlmsg 2018-11-09 08:58:55 -08:00
Makefile testsuite: Fix colorize 2018-12-20 20:16:28 -08:00