From 15ede6857c8c578ec6211c8b68424183ba1baf1a Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 5 Feb 2020 19:48:53 +0100 Subject: tests: monitor: Support testing host's nft binary Add support for -H/--host flag to use 'nft' tool from $PATH instead of the local one. Signed-off-by: Phil Sutter --- tests/monitor/run-tests.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/monitor/run-tests.sh b/tests/monitor/run-tests.sh index efacdaaa..ffb833a7 100755 --- a/tests/monitor/run-tests.sh +++ b/tests/monitor/run-tests.sh @@ -119,6 +119,10 @@ while [ -n "$1" ]; do test_json=true shift ;; + -H|--host) + nft=nft + shift + ;; testcases/*.t) testcases+=" $1" shift -- cgit v1.2.3