From 5fb625af9e89db915451992d8920b4fa353a1185 Mon Sep 17 00:00:00 2001 From: "Pablo M. Bermudo Garay" Date: Tue, 12 Jan 2016 01:26:57 +0100 Subject: tests/py: update test files syntax The test files have been adapted to the syntax defined in the previous commit "tests/py: modify supported test file syntax" Signed-off-by: Pablo M. Bermudo Garay Signed-off-by: Pablo Neira Ayuso --- tests/py/bridge/chains.t | 4 ++-- tests/py/bridge/ether.t | 4 ++-- tests/py/bridge/reject.t | 3 ++- tests/py/bridge/vlan.t | 3 ++- 4 files changed, 8 insertions(+), 6 deletions(-) (limited to 'tests/py/bridge') diff --git a/tests/py/bridge/chains.t b/tests/py/bridge/chains.t index 8070de4f..85dde73e 100644 --- a/tests/py/bridge/chains.t +++ b/tests/py/bridge/chains.t @@ -1,8 +1,8 @@ -*bridge;test-bridge - # 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 + +*bridge;test-bridge;filter-pre,filter-output,filter-forward,filter-input,filter-post diff --git a/tests/py/bridge/ether.t b/tests/py/bridge/ether.t index 6257dfcd..5b39fe0b 100644 --- a/tests/py/bridge/ether.t +++ b/tests/py/bridge/ether.t @@ -1,7 +1,7 @@ -*bridge;test-bridge - :input;type filter hook input priority 0 +*bridge;test-bridge;input + tcp dport 22 iiftype ether ip daddr 1.2.3.4 ether saddr 00:0f:54:0c:11:4 accept;ok;tcp dport 22 ether saddr 00:0f:54:0c:11:04 ip daddr 1.2.3.4 accept tcp dport 22 ip daddr 1.2.3.4 ether saddr 00:0f:54:0c:11:04;ok;tcp dport 22 ether saddr 00:0f:54:0c:11:04 ip daddr 1.2.3.4 tcp dport 22 ether saddr 00:0f:54:0c:11:04 ip daddr 1.2.3.4;ok diff --git a/tests/py/bridge/reject.t b/tests/py/bridge/reject.t index 43e54611..4fa6ac0b 100644 --- a/tests/py/bridge/reject.t +++ b/tests/py/bridge/reject.t @@ -1,6 +1,7 @@ -*bridge;test-bridge :input;type filter hook input priority 0 +*bridge;test-bridge;input + # The output is specific for bridge family reject with icmp type host-unreachable;ok;ether type ip reject with icmp type host-unreachable reject with icmp type net-unreachable;ok;ether type ip reject with icmp type net-unreachable diff --git a/tests/py/bridge/vlan.t b/tests/py/bridge/vlan.t index f86561a2..e7c75bba 100644 --- a/tests/py/bridge/vlan.t +++ b/tests/py/bridge/vlan.t @@ -1,6 +1,7 @@ -*bridge;test-bridge :input;type filter hook input priority 0 +*bridge;test-bridge;input + vlan id 4094;ok vlan id 0;ok # bad vlan id -- cgit v1.2.3