From 88ba0c92754d89c71dab11f701839522a5ddb5a9 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Fri, 25 Jan 2019 15:09:41 +0100 Subject: tests: fix up expected payloads after expr merge change nft currently doesn't do payload merging anymore in some cases, so fix up the expected output. Fixes: ce2651222911 ("payload: refine payload expr merging") Signed-off-by: Florian Westphal --- tests/py/ip/ip.t.payload | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/py/ip/ip.t.payload') diff --git a/tests/py/ip/ip.t.payload b/tests/py/ip/ip.t.payload index eba79dec..d627b22f 100644 --- a/tests/py/ip/ip.t.payload +++ b/tests/py/ip/ip.t.payload @@ -370,8 +370,10 @@ ip test-ip4 input # ip saddr 192.168.3.1 ip daddr 192.168.3.100 ip test-ip4 input - [ payload load 8b @ network header + 12 => reg 1 ] - [ cmp eq reg 1 0x0103a8c0 0x6403a8c0 ] + [ payload load 4b @ network header + 12 => reg 1 ] + [ cmp eq reg 1 0x0103a8c0 ] + [ payload load 4b @ network header + 16 => reg 1 ] + [ cmp eq reg 1 0x6403a8c0 ] # ip saddr != 1.1.1.1 ip test-ip4 input -- cgit v1.2.3