From d55bdfac89610474115fdc976d28d5f23b06c32e Mon Sep 17 00:00:00 2001 From: Eric Jallot Date: Tue, 8 Oct 2019 20:06:32 +0200 Subject: tests: shell: fix failed tests due to missing quotes Add double quotes to protect newlines when using <<< redirection. See also commit b878cb7d83855. Signed-off-by: Eric Jallot Signed-off-by: Phil Sutter --- tests/shell/testcases/nft-f/0006action_object_0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/shell/testcases/nft-f/0006action_object_0') diff --git a/tests/shell/testcases/nft-f/0006action_object_0 b/tests/shell/testcases/nft-f/0006action_object_0 index fab3070f..ddee661d 100755 --- a/tests/shell/testcases/nft-f/0006action_object_0 +++ b/tests/shell/testcases/nft-f/0006action_object_0 @@ -40,7 +40,7 @@ RULESET=$(for family in $FAMILIES ; do generate1 $family done) -$NFT -f - <<< $RULESET +$NFT -f - <<< "$RULESET" if [ $? -ne 0 ] ; then echo "E: unable to load ruleset 1" >&2 exit 1 -- cgit v1.2.3