Re: [PATCH 2/3 v3 nft] tests: Use libnftnl comparators in all tests

2016-08-16 Thread Pablo Neira Ayuso
On Tue, Aug 16, 2016 at 12:30:24PM +0200, Carlos Falgueras García wrote: > Use 'nftnl_expr_cmp' and 'nftnl_rule_cmp' in all tests instead of custom > comparator for each one. If objects differ both are printed. Please, please. One at a time... This depends on your previois patchset so I cannot

[PATCH 2/3 v3 nft] tests: Use libnftnl comparators in all tests

2016-08-16 Thread Carlos Falgueras García
Use 'nftnl_expr_cmp' and 'nftnl_rule_cmp' in all tests instead of custom comparator for each one. If objects differ both are printed. Signed-off-by: Carlos Falgueras García --- tests/libtest.c | 30 ++ tests/libtest.h