From: Phil Sutter Date: Sat, 5 May 2018 12:44:37 +0000 (+0200) Subject: tests/py: Fix expected output in {bridge,inet}/icmpX.t X-Git-Tag: v0.8.5~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d3602d721b57fe27345b69f2f761b807cd4a280d;p=thirdparty%2Fnftables.git 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 Signed-off-by: Pablo Neira Ayuso --- 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