On Thu, Oct 31, 2013 at 01:36:29PM +0100, Arturo Borrero Gonzalez wrote: > Use constants for coloured strings, which have a ugly format. > > Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@xxxxxxxxx> > --- > tests/nft-parsing-test.c | 17 +++++++++-------- > 1 file changed, 9 insertions(+), 8 deletions(-) > > diff --git a/tests/nft-parsing-test.c b/tests/nft-parsing-test.c > index 5eaaa1e..5333dbd 100644 > --- a/tests/nft-parsing-test.c > +++ b/tests/nft-parsing-test.c > @@ -33,6 +33,9 @@ enum { > TEST_JSON_RULESET, > }; > > +#define FAILED_STR "\033[31mFAILED\e[0m" > +#define OK_STR "\033[32mOK\e[0m" I don't like this macro thing, sorry. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html