Skip to content

Commit

Permalink
tests/int: log when teardown starts
Browse files Browse the repository at this point in the history
This aids in failed test analysis by allowing to distinguish the output
of various commands being run as part of the test case from the output
of teardown command like runc delete.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
  • Loading branch information
kolyshkin committed Sep 18, 2024
1 parent 85be1ca commit cfb6743
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integration/helpers.bash
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,8 @@ function teardown_bundle() {
[ ! -v ROOT ] && return 0 # nothing to teardown

cd "$INTEGRATION_ROOT" || return
echo "--- teardown ---" >&2

teardown_recvtty
local ct
for ct in $(__runc list -q); do
Expand Down

0 comments on commit cfb6743

Please sign in to comment.