]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests/py: prepare for set debug change
authorFlorian Westphal <fw@strlen.de>
Tue, 8 Apr 2025 14:21:29 +0000 (16:21 +0200)
committerFlorian Westphal <fw@strlen.de>
Sun, 22 Jun 2025 19:40:31 +0000 (21:40 +0200)
commit7cec20e45a7549d82b7eac8eac6c8a31458fe291
tree6902cd7d8d03a628599a6e5a903c860a80d08a88
parent44ea1936463728475768861073ca4ba34a5c2f75
tests/py: prepare for set debug change

Next patch will make initial set dump from kernel emit set debug
information, so the obtained netlink debug file won't match what is
recorded in tests/py.

Furthermore, as the python add rules for each of the family the test is
for, subsequent dump will include debug information of the other/previous
families.

Change the script to skip all unrelated information to only compare the
relevant set element information and the generated expressions.

This change still finds changes in [ expr ... ] and set elem debug output.

Signed-off-by: Florian Westphal <fw@strlen.de>
tests/py/nft-test.py