From 7c038cca4276d9761d63f148b382488a83f4b1ad Mon Sep 17 00:00:00 2001 From: Elise Lennion Date: Tue, 17 Jan 2017 13:44:54 -0200 Subject: tests: py: Use stateless option on tests To don't trigger false errors because of unrelated traffic on the tested machine. Tests, which have rules with counter and 'ok' result, are updated to avoid new Warnings. Signed-off-by: Elise Lennion Signed-off-by: Pablo Neira Ayuso --- tests/py/nft-test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/py/nft-test.py') diff --git a/tests/py/nft-test.py b/tests/py/nft-test.py index fc7ae608..62b79421 100755 --- a/tests/py/nft-test.py +++ b/tests/py/nft-test.py @@ -625,7 +625,7 @@ def rule_add(rule, filename, lineno, force_all_family_option, filename_path): gotf.name, 1) # Check output of nft - process = subprocess.Popen([NFT_BIN, '-nnn', 'list', 'table', + process = subprocess.Popen([NFT_BIN, '-nnns', 'list', 'table', table.family, table.name], shell=False, stdout=subprocess.PIPE, -- cgit v1.2.3