diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-11-23 22:05:12 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-11-24 12:53:40 +0100 |
commit | 1504fc484e2984e4d9994a16b6a2eb293a133de6 (patch) | |
tree | c1e4c12c783fe17cdb2154176161ede977127904 /tests/regression/ip6 | |
parent | 258b63d668ea2eb9c0b7baf56153a482cdefba85 (diff) |
tests: regression: fix bogus error due to bash
This suppresses several superfluous errors:
any/meta.t: ERROR: line 168: nft add rule ip test-ip4 input meta iifgroup {11,33}: This rule should not have failed.
any/meta.t: ERROR: line 178: nft add rule ip test-ip4 input meta oifgroup {11,33}: This rule should not have failed.
ip/masquerade.t: ERROR: line 23: nft add rule ip4 test-ip4 output tcp dport {1,2,3,4,5,6,7,8,101,202,303,1001,2002,3003} masquerade: This rule should not have failed.
ip6/masquerade.t: ERROR: line 23: nft add rule ip6 test-ip6 output tcp dport {1,2,3,4,5,6,7,8,101,202,303,1001,2002,3003} masquerade: This rule should not have failed.
This needs a space before the list of elements in the set, otherwise
bash here misinterprets the set.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/regression/ip6')
-rw-r--r-- | tests/regression/ip6/masquerade.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regression/ip6/masquerade.t b/tests/regression/ip6/masquerade.t index c0f8b87d..175b318c 100644 --- a/tests/regression/ip6/masquerade.t +++ b/tests/regression/ip6/masquerade.t @@ -20,6 +20,6 @@ tcp sport 22 masquerade accept;fail ip6 saddr ::1 masquerade drop;fail # masquerade with sets -tcp dport {1,2,3,4,5,6,7,8,101,202,303,1001,2002,3003} masquerade;ok +tcp dport { 1,2,3,4,5,6,7,8,101,202,303,1001,2002,3003} masquerade;ok ip6 daddr fe00::1-fe00::200 udp dport 53 counter packets 0 bytes 0 masquerade;ok;ip6 daddr >= fe00::1 ip6 daddr <= fe00::200 udp dport 53 counter packets 0 bytes 0 masquerade iifname eth0 ct state new,established tcp dport vmap {22 : drop, 222 : drop } masquerade;ok |