[nft PATCH 0/2] tests/py: One enhancement and a fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The first patch makes nft-test.py reinsert a rule if it's listing
differed from input. This adds quite some overhead but effectively
detects if input/output asymmetry leads to changes in netlink payload
which should be considered a bug.

The second patch makes nft-test.py less likely to crash when adding
new testcases in a trial and error fashion.

Phil Sutter (2):
  tests/py: Check differing rule output for sanity
  tests/py: Make nft-test.py a little more robust

 tests/py/nft-test.py | 35 +++++++++++++++++++++++++++++++++--
 1 file changed, 33 insertions(+), 2 deletions(-)

-- 
2.18.0




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux