]> git.ipfire.org Git - thirdparty/iptables.git/commit
tests: xlate: remove python 3.5 dependency
authorPablo M. Bermudo Garay <pablombg@gmail.com>
Tue, 18 Apr 2017 23:19:08 +0000 (01:19 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 25 Apr 2017 08:55:27 +0000 (10:55 +0200)
commit3f92b25932a8b9e2a897c49859a7c244c4c7ff37
tree7d55b0674d7d4947e722cd7175f4e9b291f36b23
parentd89dc47ab3875f6fe6679cebceccd2000bf81b8e
tests: xlate: remove python 3.5 dependency

This commit replaces subprocess.run (introduced in python 3.5) with
subprocess.Popen (supported since the first version of python 3).

Furthermore, the output has been improved when ip[6]tables-translate
exits with non-zero return code.

Signed-off-by: Pablo M. Bermudo Garay <pablombg@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
xlate-test.py