summaryrefslogtreecommitdiffstats
path: root/tests/py
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-05-05 14:44:37 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-05-06 22:56:23 +0200
commitd3602d721b57fe27345b69f2f761b807cd4a280d (patch)
tree63b0e62d8baa0f119a0baa3c01d595a437db5fdb /tests/py
parentcb5f6e846667f69a508559790a3ea84820f86842 (diff)
tests/py: Fix expected output in {bridge,inet}/icmpX.t
The first expression in that rule is not eliminated in evaluation phase, so there is no reason why it should be while delinearizing. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py')
-rw-r--r--tests/py/bridge/icmpX.t2
-rw-r--r--tests/py/inet/icmpX.t2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/py/bridge/icmpX.t b/tests/py/bridge/icmpX.t
index 4d7b9b06..7c35c263 100644
--- a/tests/py/bridge/icmpX.t
+++ b/tests/py/bridge/icmpX.t
@@ -2,7 +2,7 @@
*bridge;test-bridge;input
-ip protocol icmp icmp type echo-request;ok;icmp type echo-request
+ip protocol icmp icmp type echo-request;ok;ip protocol 1 icmp type echo-request
icmp type echo-request;ok
ip6 nexthdr icmpv6 icmpv6 type echo-request;ok;ip6 nexthdr 58 icmpv6 type echo-request
icmpv6 type echo-request;ok
diff --git a/tests/py/inet/icmpX.t b/tests/py/inet/icmpX.t
index 43ac0909..97ff96d0 100644
--- a/tests/py/inet/icmpX.t
+++ b/tests/py/inet/icmpX.t
@@ -2,7 +2,7 @@
*inet;test-inet;input
-ip protocol icmp icmp type echo-request;ok;icmp type echo-request
+ip protocol icmp icmp type echo-request;ok;ip protocol 1 icmp type echo-request
icmp type echo-request;ok
ip6 nexthdr icmpv6 icmpv6 type echo-request;ok;ip6 nexthdr 58 icmpv6 type echo-request
icmpv6 type echo-request;ok