diff options
author | Elise Lennion <elise.lennion@gmail.com> | 2017-01-17 13:44:54 -0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-01-18 18:54:45 +0100 |
commit | 7c038cca4276d9761d63f148b382488a83f4b1ad (patch) | |
tree | 28a01133f28c0b9417b54689dd96e54abe6b286e /tests/py/nft-test.py | |
parent | 8af387ea9cc826fef1a7976e369b89c348efa5ff (diff) |
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 <elise.lennion@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/nft-test.py')
-rwxr-xr-x | tests/py/nft-test.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, |