Message ID | 1407394858-26841-4-git-send-email-anarey@gmail.com |
---|---|
State | Superseded |
Delegated to: | Pablo Neira |
Headers | show |
diff --git a/tests/any/meta.t b/tests/any/meta.t index 7361962..7cdf87a 100644 --- a/tests/any/meta.t +++ b/tests/any/meta.t @@ -164,3 +164,11 @@ meta pkttype != unicast;ok;pkttype != unicast meta pkttype != multicast;ok;pkttype != multicast meta pkttype broadcastttt;fail -meta pkttype { broadcast, multicast} accept;ok + +meta cpu 1;ok;cpu 1 +meta cpu != 1;ok;cpu != 1 +meta cpu 1-3;ok;cpu >= 1 cpu <= 3 +# BUG: there is not matching of packets with this rule. +meta cpu != 1-2;ok;cpu < 1 cpu > 2 +meta cpu { 2,3};ok;cpu { 2, 3} +-meta cpu != { 2,3};ok
Add some tests to check the cpu attribute of meta expresion. Signed-off-by: Ana Rey <anarey@gmail.com> --- tests/any/meta.t | 8 ++++++++ 1 file changed, 8 insertions(+)