From 07da331f27f9331475cdf685ec27fef42a6887d5 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Thu, 26 Oct 2017 14:26:41 +0200 Subject: tests: icmpX: fix expected output both of these rules succeed, but they should fail instead. nft removes the ip6 nexthdr' clause, but this is not correct, it is an explicit test for the ipv6 nexthdr value. Implicit dependencies use meta l4proto to skip extension headers (if any), ipv6 nexthdr does not. Signed-off-by: Florian Westphal --- tests/py/bridge/icmpX.t | 2 +- tests/py/inet/icmpX.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/py/bridge/icmpX.t b/tests/py/bridge/icmpX.t index 8c0a5979..4d7b9b06 100644 --- a/tests/py/bridge/icmpX.t +++ b/tests/py/bridge/icmpX.t @@ -4,5 +4,5 @@ ip protocol icmp icmp type echo-request;ok;icmp type echo-request icmp type echo-request;ok -ip6 nexthdr icmpv6 icmpv6 type echo-request;ok;icmpv6 type echo-request +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 1b467a18..aebaf099 100644 --- a/tests/py/inet/icmpX.t +++ b/tests/py/inet/icmpX.t @@ -4,5 +4,5 @@ ip protocol icmp icmp type echo-request;ok;icmp type echo-request icmp type echo-request;ok -ip6 nexthdr icmpv6 icmpv6 type echo-request;ok;icmpv6 type echo-request +ip6 nexthdr icmpv6 icmpv6 type echo-request;ok;ip6 nexthdr 58 icmpv6 type echo-request icmpv6 type echo-request;ok -- cgit v1.2.3