]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: regression: fix bogus error due to bash
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 23 Nov 2014 21:05:12 +0000 (22:05 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 24 Nov 2014 11:53:40 +0000 (12:53 +0100)
commit1504fc484e2984e4d9994a16b6a2eb293a133de6
treec1e4c12c783fe17cdb2154176161ede977127904
parent258b63d668ea2eb9c0b7baf56153a482cdefba85
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>
tests/regression/any/meta.t
tests/regression/ip/masquerade.t
tests/regression/ip6/masquerade.t