feature probe script leave a ruleset in place, flush it once probing is complete. Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> --- tests/shell/run-tests.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/shell/run-tests.sh b/tests/shell/run-tests.sh index e54f8bf3e3ee..86c8312683cc 100755 --- a/tests/shell/run-tests.sh +++ b/tests/shell/run-tests.sh @@ -602,6 +602,9 @@ for feat in "${_HAVE_OPTS[@]}" ; do val="$(bool_n "${!var}")" fi eval "export $var=$val" + if [ "$NFT_TEST_HAS_UNSHARED" != y ] ; then + $NFT flush ruleset + fi done if [ "$NFT_TEST_JOBS" -eq 0 ] ; then -- 2.30.2