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 13, 2024
1 parent e951d29 commit 49bc17f
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 49bc17f

Please sign in to comment.