From 6c6d574946b99b1454b128d494fff13c6cd1a3b6 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 20 Jul 2023 09:14:16 +0200 Subject: tests: shell: extend implicit chain map with flush command Add a rule flush command. Signed-off-by: Pablo Neira Ayuso --- tests/shell/testcases/transactions/0051map_0 | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/shell') diff --git a/tests/shell/testcases/transactions/0051map_0 b/tests/shell/testcases/transactions/0051map_0 index c4ea62cd..9ea5cd4c 100755 --- a/tests/shell/testcases/transactions/0051map_0 +++ b/tests/shell/testcases/transactions/0051map_0 @@ -119,3 +119,4 @@ RULESET="table inet filter { $NFT -c -f - <<< "$RULESET" >/dev/null || exit 0 $NFT -f - <<< "$RULESET" >/dev/null || exit 0 +$NFT flush table inet filter || exit 0 -- cgit v1.2.3