summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/sets.t.payload.netdev
Commit message (Collapse)AuthorAgeFilesLines
* tests/py: Add tests involving concatenated rangesPhil Sutter2020-03-101-0/+12
| | | | | | | | | | | | | | | 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: allow to specify sets with a timeoutFlorian Westphal2018-05-091-0/+16
Not usable yet, as the set timeout netlink output isn't captured so far, but it adds groundwork to add this as a follow-up. Set definition syntax changes a little, if you want to add multiple elements they now have to be separated by "," just like in nftables. Signed-off-by: Florian Westphal <fw@strlen.de>