From 0f0e5b412804aa18fd18434fb0db360b98a76bf8 Mon Sep 17 00:00:00 2001 From: Jeremy Sowden Date: Mon, 9 Nov 2020 18:07:10 +0000 Subject: tests: py: remove duplicate payloads. nft-test.py only needs one payload per rule, but a number of rules have duplicates, typically one per address family, so just keep the last payload for rules listed more than once. Signed-off-by: Jeremy Sowden Signed-off-by: Florian Westphal --- tests/py/any/ct.t.payload | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'tests/py/any/ct.t.payload') diff --git a/tests/py/any/ct.t.payload b/tests/py/any/ct.t.payload index ccbddc89..2f4ba4a7 100644 --- a/tests/py/any/ct.t.payload +++ b/tests/py/any/ct.t.payload @@ -329,20 +329,6 @@ ip test-ip4 output [ meta load mark => reg 1 ] [ ct set mark with reg 1 ] -# ct mark set (meta mark | 0x10) << 8 -ip test-ip4 output - [ meta load mark => reg 1 ] - [ bitwise reg 1 = (reg=1 & 0xffffffef ) ^ 0x00000010 ] - [ bitwise reg 1 = ( reg 1 << 0x00000008 ) ] - [ ct set mark with reg 1 ] - -# ct mark set (meta mark | 0x10) << 8 -ip6 test-ip6 output - [ meta load mark => reg 1 ] - [ bitwise reg 1 = (reg=1 & 0xffffffef ) ^ 0x00000010 ] - [ bitwise reg 1 = ( reg 1 << 0x00000008 ) ] - [ ct set mark with reg 1 ] - # ct mark set (meta mark | 0x10) << 8 inet test-inet output [ meta load mark => reg 1 ] -- cgit v1.2.3