From e7c93a28576665c2c8426b13cb630a2381577200 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Sat, 31 Mar 2018 16:18:55 +0200 Subject: tests: redirect: fix tests for upcoming nft-test.py fix nft-test.py currently fails to properly compare tests involving a set, after that bug is fixed these lines would fail, so fix this up before. Signed-off-by: Florian Westphal --- tests/py/ip/redirect.t.payload | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/py/ip/redirect.t.payload') diff --git a/tests/py/ip/redirect.t.payload b/tests/py/ip/redirect.t.payload index a5d0f0dc..f208aacb 100644 --- a/tests/py/ip/redirect.t.payload +++ b/tests/py/ip/redirect.t.payload @@ -191,7 +191,7 @@ ip test-ip4 output [ counter pkts 0 bytes 0 ] [ redir ] -# iifname eth0 ct state new,established tcp dport vmap {22 : drop, 222 : drop } redirect +# iifname "eth0" ct state established,new tcp dport vmap {22 : drop, 222 : drop } redirect __map%d test-ip4 b __map%d test-ip4 0 element 00001600 : 0 [end] element 0000de00 : 0 [end] @@ -207,7 +207,7 @@ ip test-ip4 output [ lookup reg 1 set __map%d dreg 0 ] [ redir ] -# ip protocol 6 redirect to : tcp dport map { 22 : 8000, 80 : 8080} +# ip protocol 6 redirect to :tcp dport map { 22 : 8000, 80 : 8080} __map%d test-ip4 b __map%d test-ip4 0 element 00001600 : 0000401f 0 [end] element 00005000 : 0000901f 0 [end] -- cgit v1.2.3