]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests/py: Add tests involving concatenated ranges
authorPhil Sutter <phil@nwl.cc>
Sat, 7 Mar 2020 02:00:10 +0000 (03:00 +0100)
committerPhil Sutter <phil@nwl.cc>
Tue, 10 Mar 2020 15:28:58 +0000 (16:28 +0100)
commit64b9aa3803dd1f6ca529a1f3bd7aa0875bdbd9d9
treec18dd45ac98e673bc17e6b33fe7549e1ebb565e3
parent9475ca305a993751b05cf26ef8e785a00de98b94
tests/py: Add tests involving concatenated ranges

Very basic testing, just a set definition, a rule which references it
and another one with an anonymous set.

Sadly this is already enough to expose some pending issues:

* Payload dependency killing ignores the concatenated IP header
  expressions on LHS, so rule output is asymmetric.

* Anonymous sets don't accept concatenated ranges yet, so the second
  rule is manually disabled for now.

Signed-off-by: Phil Sutter <phil@nwl.cc>
tests/py/inet/sets.t
tests/py/inet/sets.t.json
tests/py/inet/sets.t.payload.bridge
tests/py/inet/sets.t.payload.inet
tests/py/inet/sets.t.payload.netdev