]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: shell: add quotes when using <<<-style here document
authorFlorian Westphal <fw@strlen.de>
Fri, 8 Jun 2018 12:41:08 +0000 (14:41 +0200)
committerFlorian Westphal <fw@strlen.de>
Fri, 8 Jun 2018 12:41:08 +0000 (14:41 +0200)
commitb878cb7d83855f4420791561b63aa4b96d73663a
tree645bab65243ebc9a259181c9d8495865e5882ed9
parentba6711f37e4c776e812e53c9a0d385a80ce2f15a
tests: shell: add quotes when using <<<-style here document

bash 4.3.30 removes newlines in RULESET when "" are omitted, which
then causes nft -f to complain about invalid syntax.

As a result, all test cases that use this here-doc style fail.

Signed-off-by: Florian Westphal <fw@strlen.de>
52 files changed:
tests/shell/testcases/cache/0001_cache_handling_0
tests/shell/testcases/cache/0002_interval_0
tests/shell/testcases/import/vm_json_import_0
tests/shell/testcases/maps/0006interval_map_overlap_0
tests/shell/testcases/netns/0001nft-f_0
tests/shell/testcases/netns/0003many_0
tests/shell/testcases/nft-f/0001define_slash_0
tests/shell/testcases/nft-f/0006action_object_0
tests/shell/testcases/nft-f/0007action_object_set_segfault_1
tests/shell/testcases/nft-f/0008split_tables_0
tests/shell/testcases/nft-f/0009variable_0
tests/shell/testcases/nft-f/0010variable_0
tests/shell/testcases/nft-f/0012different_defines_0
tests/shell/testcases/nft-f/0013defines_1
tests/shell/testcases/nft-f/0014defines_1
tests/shell/testcases/nft-f/0015defines_1
tests/shell/testcases/nft-f/0016redefines_1
tests/shell/testcases/sets/0001named_interval_0
tests/shell/testcases/sets/0008create_verdict_map_0
tests/shell/testcases/sets/0014malformed_set_is_not_defined_0
tests/shell/testcases/sets/0015rulesetflush_0
tests/shell/testcases/sets/0021nesting_0
tests/shell/testcases/sets/0022type_selective_flush_0
tests/shell/testcases/sets/0024named_objects_0
tests/shell/testcases/sets/0026named_limit_0
tests/shell/testcases/sets/0027ipv6_maps_ipv4_0
tests/shell/testcases/sets/0031set_timeout_size_0
tests/shell/testcases/transactions/0001table_0
tests/shell/testcases/transactions/0002table_0
tests/shell/testcases/transactions/0003table_0
tests/shell/testcases/transactions/0010chain_0
tests/shell/testcases/transactions/0011chain_0
tests/shell/testcases/transactions/0012chain_0
tests/shell/testcases/transactions/0013chain_0
tests/shell/testcases/transactions/0014chain_1
tests/shell/testcases/transactions/0015chain_0
tests/shell/testcases/transactions/0020rule_0
tests/shell/testcases/transactions/0021rule_0
tests/shell/testcases/transactions/0022rule_1
tests/shell/testcases/transactions/0023rule_1
tests/shell/testcases/transactions/0030set_0
tests/shell/testcases/transactions/0031set_0
tests/shell/testcases/transactions/0032set_0
tests/shell/testcases/transactions/0033set_0
tests/shell/testcases/transactions/0034set_0
tests/shell/testcases/transactions/0035set_0
tests/shell/testcases/transactions/0036set_1
tests/shell/testcases/transactions/0037set_0
tests/shell/testcases/transactions/0038set_0
tests/shell/testcases/transactions/0039set_0
tests/shell/testcases/transactions/0040set_0
tests/shell/testcases/transactions/0041nat_restore_0