summaryrefslogtreecommitdiffstats
path: root/xlate-test.py
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2024-11-05 16:07:01 +0100
committerPhil Sutter <phil@nwl.cc>2024-11-05 23:58:03 +0100
commit6fbd211b48648a337d794ac1e1665d6ed3175a78 (patch)
tree47334ac17fe84f2ff82a8539943a5b6a578a080e /xlate-test.py
parent36d87cd8092edc1f256a0505e260cc8d5ccacb33 (diff)
tests: iptables-test: Properly assert rule deletion errors
Capture any non-zero return code, iptables not necessarily returns 1 on error. A known issue with trying to delete a rule by spec is the unsupported --set-counters option. Strip it before deleting the rule. Fixes: c8b7aaabbe1fc ("add iptables unit test infrastructure") Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'xlate-test.py')
0 files changed, 0 insertions, 0 deletions