diff --git a/tests/integration/hooks_so.bats b/tests/integration/hooks_so.bats index 44299ab57a6..515f9e322a2 100644 --- a/tests/integration/hooks_so.bats +++ b/tests/integration/hooks_so.bats @@ -30,13 +30,8 @@ function teardown() { bundle=$(pwd) # To mount $HOOKLIBCR we need to do that in the container namespace - create_runtime_hook=$( - cat <<-EOF - pid=\$(cat - | jq -r '.pid') - touch "$LIBPATH/$HOOKLIBCR.1.0.0" - nsenter -m \$ns -t \$pid mount --bind "$bundle/$HOOKLIBCR.1.0.0" "$LIBPATH/$HOOKLIBCR.1.0.0" - EOF - ) + create_runtime_hook="pid=\$(cat - | jq -r '.pid'); touch "$LIBPATH/$HOOKLIBCR.1.0.0" && \ + nsenter -m \$ns -t \$pid mount --bind "$bundle/$HOOKLIBCR.1.0.0" "$LIBPATH/$HOOKLIBCR.1.0.0"" create_container_hook="touch ./lib/$HOOKLIBCC.1.0.0 && mount --bind $bundle/$HOOKLIBCC.1.0.0 ./lib/$HOOKLIBCC.1.0.0" diff --git a/tests/integration/tty.bats b/tests/integration/tty.bats index c95c19a1eea..53d3c23f17c 100644 --- a/tests/integration/tty.bats +++ b/tests/integration/tty.bats @@ -153,8 +153,7 @@ function teardown() { # make sure we're running testcontainer test_busybox running - tty_info_with_consize_size=$( - cat <