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/maps/0007named_ifname_dtype_0 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/shell/testcases/maps/0007named_ifname_dtype_0') diff --git a/tests/shell/testcases/maps/0007named_ifname_dtype_0 b/tests/shell/testcases/maps/0007named_ifname_dtype_0 index 4c7e7895..b5c5116b 100755 --- a/tests/shell/testcases/maps/0007named_ifname_dtype_0 +++ b/tests/shell/testcases/maps/0007named_ifname_dtype_0 @@ -15,5 +15,4 @@ EXPECTED="table inet t { }" set -e -$NFT -f - <<< $EXPECTED - +$NFT -f - <<< "$EXPECTED" -- cgit v1.2.3