From ac8d992b8b2a23c5ae56afc428737c6863461136 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Fri, 1 Feb 2019 17:06:19 +0100 Subject: extensions: Fix arptables extension tests With changes to arptables-nft output, many of these tests fail because rules are not printed as expected anymore. Since most of the tests with explicitly defined output did so just because of added --h-length and --h-type options, adjust input a little more (typically reordering of arguments) to make output match input. Signed-off-by: Phil Sutter Signed-off-by: Florian Westphal --- extensions/libarpt_MARK.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extensions/libarpt_MARK.t') diff --git a/extensions/libarpt_MARK.t b/extensions/libarpt_MARK.t index cb4c2cb6..3b13d44f 100644 --- a/extensions/libarpt_MARK.t +++ b/extensions/libarpt_MARK.t @@ -1,4 +1,4 @@ :INPUT,OUTPUT --d 0.0.0.0/8 -j MARK --set-mark 0x1;-d 0.0.0.0/8 --h-length 6 --h-type 1 -j MARK --set-xmark 0x1/0xffffffff;OK --s ! 0.0.0.0 -j MARK --and-mark 0x17;! -s 0.0.0.0 --h-length 6 --h-type 1 -j MARK --set-xmark 0x0/0xffffffe8;OK --s 0.0.0.0 -j MARK --or-mark 0x17;-s 0.0.0.0 --h-length 6 --h-type 1 -j MARK --set-xmark 0x17/0x17;OK +-j MARK -d 0.0.0.0/8 --set-mark 1;=;OK +-s ! 0.0.0.0 -j MARK --and-mark 0x17;-j MARK ! -s 0.0.0.0 --and-mark 17;OK +-j MARK -s 0.0.0.0 --or-mark 17;=;OK -- cgit v1.2.3