summaryrefslogtreecommitdiffstats
path: root/tests/py/ip
diff options
context:
space:
mode:
authorPablo M. Bermudo Garay <pablombg@gmail.com>2016-01-12 01:26:56 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2016-01-12 14:36:51 +0100
commitf8ce80a1b3a6e54147c80a3e1fe00558ece1e031 (patch)
tree9af47e27ab70c5c15c1ed1ff3dcb79a9527f63fd /tests/py/ip
parent1858c5f4059d395ba0c272c3b5a3b5104a3c2f64 (diff)
tests/py: modify supported test file syntax
Until now, the syntax to represent tables and chains in test files was: *ip;test-ip4 *ip6;test-ip6 *inet;test-inet :input;type filter hook input priority 0 Where lines starting with * are tables and lines starting with : are chains. This commit change the test script to deal with new syntax: :input;type filter hook input priority 0 *ip;test-ip4;input *ip6;test-ip6;input *inet;test-inet;input Now the chains should be included before tables. Also, lines defining tables have a new third part (delimited by semicolon) where the chains needed by the table are declared. If table needs to include more than one chain, those must be separated by commas: :input;type filter hook input priority 0 :forward;type filter hook forward priority 0 :output;type filter hook output priority 0 *arp;test-arp;input,forward,output This new syntax allow to include in the same test file chains not supported by all families of tables tested. Signed-off-by: Pablo M. Bermudo Garay <pablombg@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/ip')
0 files changed, 0 insertions, 0 deletions