From b878cb7d83855f4420791561b63aa4b96d73663a Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Fri, 8 Jun 2018 14:41:08 +0200 Subject: 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 --- tests/shell/testcases/transactions/0014chain_1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/shell/testcases/transactions/0014chain_1') diff --git a/tests/shell/testcases/transactions/0014chain_1 b/tests/shell/testcases/transactions/0014chain_1 index 40cea8b2..802a7e63 100755 --- a/tests/shell/testcases/transactions/0014chain_1 +++ b/tests/shell/testcases/transactions/0014chain_1 @@ -7,5 +7,5 @@ add chain x y delete chain x y delete chain x y" -$NFT -f - <<< $RULESET 2>/dev/null +$NFT -f - <<< "$RULESET" 2>/dev/null echo "E: allowing double-removal of chain" >&2 -- cgit v1.2.3