From 7886acd7f6f4d08498bf271126496f4c92c02140 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 26 Aug 2024 00:41:43 +0200 Subject: tests: shell: cover anonymous set with reset command Extend existing test to reset counters for rules with anonymous set. Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1763 Tested-by: Eric Garver Signed-off-by: Pablo Neira Ayuso --- tests/shell/testcases/rule_management/0011reset_0 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'tests/shell/testcases') diff --git a/tests/shell/testcases/rule_management/0011reset_0 b/tests/shell/testcases/rule_management/0011reset_0 index 3fede56f..2004b17d 100755 --- a/tests/shell/testcases/rule_management/0011reset_0 +++ b/tests/shell/testcases/rule_management/0011reset_0 @@ -4,6 +4,27 @@ set -e +echo "loading ruleset with anonymous set" +$NFT -f - <