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/listing/0017objects_0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/shell/testcases/listing/0017objects_0') diff --git a/tests/shell/testcases/listing/0017objects_0 b/tests/shell/testcases/listing/0017objects_0 index 14d61438..8a586e80 100755 --- a/tests/shell/testcases/listing/0017objects_0 +++ b/tests/shell/testcases/listing/0017objects_0 @@ -8,7 +8,7 @@ EXPECTED="table inet filter { set -e -$NFT -f - <<< $EXPECTED +$NFT -f - <<< "$EXPECTED" $NFT flush map inet filter countermap GET="$($NFT list map inet filter countermap)" -- cgit v1.2.3