summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/transactions
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2023-07-20 09:14:16 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2023-07-21 15:37:12 +0200
commit6c6d574946b99b1454b128d494fff13c6cd1a3b6 (patch)
treecb4333c75783d1a2587bdee775390e32f1bf8602 /tests/shell/testcases/transactions
parent8e339bae3c9918b38bd72ddacf7765a12c1dcda9 (diff)
tests: shell: extend implicit chain map with flush command
Add a rule flush command. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/transactions')
-rwxr-xr-xtests/shell/testcases/transactions/0051map_01
1 files changed, 1 insertions, 0 deletions
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