From 85a3069878e681b4efbf05c77686f90bdf06d6d6 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Sun, 9 Aug 2020 12:46:55 -0700 Subject: [PATCH] test/int/hooks.bats: fix here-doc The ending EOF should be - all by itself (i.e. no extra characters on the same line); - with no whitespace before it. Signed-off-by: Kir Kolyshkin --- tests/integration/hooks.bats | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/hooks.bats b/tests/integration/hooks.bats index d64441f2..12456099 100644 --- a/tests/integration/hooks.bats +++ b/tests/integration/hooks.bats @@ -39,7 +39,8 @@ function teardown() { pid=\$(cat - | jq -r '.pid') touch "$LIBPATH/$HOOKLIBCR.1.0.0" nsenter -m \$ns -t \$pid mount --bind "$current_pwd/$HOOKLIBCR.1.0.0" "$LIBPATH/$HOOKLIBCR.1.0.0" - EOF) +EOF +) create_container_hook="touch ./lib/$HOOKLIBCC.1.0.0 && mount --bind $current_pwd/$HOOKLIBCC.1.0.0 ./lib/$HOOKLIBCC.1.0.0"