The first two patches in this series enable xlate and shell testsuites to be run against installed binaries on host system. This is enabled via an extra commandline parameter, the default is unchanged. Patch 3 adds support for customizing connlabel.conf path to connlabel extension. This is a prerequisite for the last two patches, which change xlate and iptables testsuites to define a custom configuration for testing purposes instead of having to rely on host's filesystem to contain the file (or allow changing it in case of iptables testsuite). Phil Sutter (5): xlate-test: Support testing host binaries tests/shell: Support testing host binaries extensions: connlabel: Allow connlabel.conf override xlate-test: Add and use a connlabel.conf for testing iptables-test: Make use of sample connlabel.conf extensions/.gitignore | 1 + extensions/libxt_connlabel.c | 6 ++-- extensions/libxt_connlabel.conf.test | 3 ++ extensions/libxt_connlabel.man | 2 ++ extensions/libxt_connlabel.t | 13 ++------ iptables-test.py | 2 ++ iptables/tests/shell/run-tests.sh | 48 ++++++++++++++++++---------- xlate-test.py | 17 ++++++++-- 8 files changed, 61 insertions(+), 31 deletions(-) create mode 100644 extensions/libxt_connlabel.conf.test -- 2.20.1