summaryrefslogtreecommitdiffstats
path: root/src/netlink_linearize.c
diff options
context:
space:
mode:
authorArturo Borrero <arturo.borrero.glez@gmail.com>2016-04-21 11:43:54 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2016-04-27 19:24:56 +0200
commitfbd103b7200a2530f65a2f1f6bc043ba2b36e5e0 (patch)
tree841b9649650c41e83df522b311d091578fe11bb8 /src/netlink_linearize.c
parent3deffe8040840ba215e744e0699a8ab3653aac66 (diff)
tests: py: allow to run tests with other nft binaries
Allow to run tests with other nft binaries by reading a 'NFT' environment variable, allowing arbitrary locations for the nft binary. This is what the tests/shell/run-tests.sh script does. Among other thing, this allow us to properly hook this testsuite from the Debian CI environment (https://ci.debian.net) where we can perform tests for packages 'as installed'. Examples: # run with default config (ie src/nft) % ./nft-test.py # run with installed binary (ie /usr/sbin/nft) % NFT=/usr/sbin/nft ./nft-test.py Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/netlink_linearize.c')
0 files changed, 0 insertions, 0 deletions