]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: shell: validate too deep jumpstack from basechain
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 8 Aug 2018 19:52:50 +0000 (21:52 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 8 Aug 2018 19:57:24 +0000 (21:57 +0200)
commit760a8bab07ade570e589bc8da36935776d225d95
treebb48fb0823ebf3a7e1b05581e6f3bb3a5e118442
parenta02bcd16560c495600e55326b113663dbab627cf
tests: shell: validate too deep jumpstack from basechain

If there is no basechain, the validation is never exercised.

Too deep nested chains are fine as long as they are not connected to a
basechain.

Update test to add a basechain so we exercise validation.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/shell/testcases/chains/0002jumps_1