summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/sets/0024named_objects_0
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2019-07-03 13:11:52 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-07-03 13:11:52 +0200
commit1694c01c30fba06461ca82ede070bf6a9cd9a4db (patch)
tree05128a268668d3124db9062f503473a227b77240 /tests/shell/testcases/sets/0024named_objects_0
parentf51b4a8d21b105d383697efc84a8d68c9008c28e (diff)
tests: shell: update test to include reset command
Update tests to invoke the reset command. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/sets/0024named_objects_0')
-rwxr-xr-xtests/shell/testcases/sets/0024named_objects_05
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/shell/testcases/sets/0024named_objects_0 b/tests/shell/testcases/sets/0024named_objects_0
index 10f99b62..3bd16f2f 100755
--- a/tests/shell/testcases/sets/0024named_objects_0
+++ b/tests/shell/testcases/sets/0024named_objects_0
@@ -9,6 +9,9 @@ table inet x {
counter user123 {
packets 12 bytes 1433
}
+ counter user321 {
+ packets 12 bytes 1433
+ }
quota user123 {
over 2000 bytes
}
@@ -31,3 +34,5 @@ table inet x {
set -e
$NFT -f - <<< "$RULESET"
+
+$NFT reset counter inet x user321