Make sure support chain don't stop working. Remove some minor mistakes and out of scope tests from chain*.t Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> --- tests/regression/arp/chains.t | 3 ++- tests/regression/bridge/chains.t | 11 ++++++----- tests/regression/ip/chains.t | 7 ------- tests/regression/ip6/chains.t | 1 - 4 files changed, 8 insertions(+), 14 deletions(-) diff --git a/tests/regression/arp/chains.t b/tests/regression/arp/chains.t index 6b0c042..cf08c1a 100644 --- a/tests/regression/arp/chains.t +++ b/tests/regression/arp/chains.t @@ -1,5 +1,6 @@ *arp;test-arp -- filter chains available are: input, output, forward + +# filter chains available are: input, output, forward :input;type filter hook input priority 0 :forward;type filter hook forward priority 0 :output;type filter hook output priority 0 diff --git a/tests/regression/bridge/chains.t b/tests/regression/bridge/chains.t index 3fb1c89..8070de4 100644 --- a/tests/regression/bridge/chains.t +++ b/tests/regression/bridge/chains.t @@ -1,7 +1,8 @@ *bridge;test-bridge -# filter chains available are: input, output, forward -:filter-input;type filter hook input priority 0 -:filter-forward;type filter hook forward priority 0 -:filter-output;type filter hook output priority 0 -- ether type 1;ok +# filter chains available are: prerouting, input, output, forward, postrouting +:filter-pre;type filter hook input priority 0 +:filter-output;type filter hook output priority 0 +:filter-forward;type filter hook forward priority 0 +:filter-input;type filter hook input priority 0 +:filter-post;type filter hook input priority 0 diff --git a/tests/regression/ip/chains.t b/tests/regression/ip/chains.t index 92a1147..8edf62b 100644 --- a/tests/regression/ip/chains.t +++ b/tests/regression/ip/chains.t @@ -1,5 +1,4 @@ *ip;test-ip4 --*inet;test-inet # filter chains available are: input, output, forward, prerouting, postrouting :filter-input;type filter hook input priority 0 @@ -14,9 +13,3 @@ :nat-post-t;type nat hook postrouting priority 0 # route chain available are: output :route-out-t;type route hook output priority 0 - -#ip daddr 192.168.0.1-192.168.0.250;ok -#ip daddr 192.168.0.1;ok -#ip daddr 192.168.0.1 drop;ok -#ip daddr 192.168.0.2 log;ok -#ip daddr 192.168.0.2 log;ok diff --git a/tests/regression/ip6/chains.t b/tests/regression/ip6/chains.t index ef975b2..c1e41e4 100644 --- a/tests/regression/ip6/chains.t +++ b/tests/regression/ip6/chains.t @@ -1,5 +1,4 @@ *ip6;test-ip6 --*inet;test-inet # filter chains available are: input, output, forward, forward, prerouting and postrouting. :filter-input;type filter hook input priority 0 -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html