Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: Kir Kolyshkin <[email protected]>
  • Loading branch information
kolyshkin committed Nov 4, 2021
1 parent 139f4ae commit b744b03
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/integration/helpers.bash
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,10 @@ function setup_bundle() {
# Root for various container directories (state, tty, bundle).
ROOT=$(mktemp -d "$BATS_RUN_TMPDIR/runc.XXXXXX")
mkdir -p "$ROOT/state" "$ROOT/bundle/rootfs"
# Tests running inside userns need to traverse the path as different
# users to mount the rootfs.
# Give permissions for others, so they always work.
chmod 755 "$ROOT" "$BATS_RUN_TMPDIR"

setup_recvtty
cd "$ROOT/bundle" || return
Expand Down

0 comments on commit b744b03

Please sign in to comment.