diff options
Diffstat (limited to 'tests/match_target.t')
-rw-r--r-- | tests/match_target.t | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/match_target.t b/tests/match_target.t index 3d7ed1b..4141ce6 100644 --- a/tests/match_target.t +++ b/tests/match_target.t @@ -112,4 +112,10 @@ 0 ./check_klog.sh 10.255.255.64 udp 1025 netiface # Destroy sets and rules 0 ./iptables.sh inet stop +# Create set and rules for the counter test +0 ./iptables.sh inet counter +# Check packet counter +0 ipset l test |grep -q '^10.255.255.64 packets 2' +# Destroy sets and rules +0 ./iptables.sh inet stop # eof |