]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests/py: Highlight offending parts in differences warnings
authorPhil Sutter <phil@nwl.cc>
Tue, 8 May 2018 11:08:44 +0000 (13:08 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 11 May 2018 10:17:45 +0000 (12:17 +0200)
commit875232bc3e6bf55cc31f3763449503a80a7c2382
tree9cf34657940efb95090fe82fd83326da1d743996
parent15ce42d6f7749fb391bb27b01aac735f0f0bbe95
tests/py: Highlight offending parts in differences warnings

Print the non-equal parts of the two rules in yellow when printing the
differences warning.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/py/nft-test.py