Re: [PATCH nft 6/9] tests: py: add ct helper tests

2017-03-15 Thread Florian Westphal
Pablo Neira Ayuso wrote: > On Tue, Mar 14, 2017 at 08:58:13PM +0100, Florian Westphal wrote: > > +%cthelp1 type ct helper { type \"ftp\"\; protocol tcp\; };ok > > Just a minor syntax nitpick here. > > Protocol should be part of the same statement, right? ie. > > { type

[PATCH nft 6/9] tests: py: add ct helper tests

2017-03-14 Thread Florian Westphal
needs minor tweak to nft-test.py so we don't zap the ';' within the {} before attempting to add the rule/ct helper object. Signed-off-by: Florian Westphal --- tests/py/ip/objects.t | 4 tests/py/ip/objects.t.payload | 14 ++ tests/py/nft-test.py