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_standard.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions/libarpt_standard.t') diff --git a/extensions/libarpt_standard.t b/extensions/libarpt_standard.t index 19586592..e84a00b7 100644 --- a/extensions/libarpt_standard.t +++ b/extensions/libarpt_standard.t @@ -5,8 +5,8 @@ -d 192.168.0.1;=;OK ! -d 0.0.0.0;=;OK -d 0.0.0.0/24;=;OK --i lo -j DROP;-i lo --h-length 6 --h-type 1 -j DROP;OK -! -i lo -j ACCEPT;! -i lo --h-length 6 --h-type 1 -j ACCEPT;OK +-j DROP -i lo;=;OK +-j ACCEPT ! -i lo;=;OK -i ppp+;=;OK ! -i ppp+;=;OK -i lo --destination-mac 11:22:33:44:55:66;-i lo --dst-mac 11:22:33:44:55:66;OK -- cgit v1.2.3