mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-11-03 09:37:34 +00:00
Merge pull request #27826 from ricardobranco777/fix_bats_leak_check
test: Fix PODMAN_BATS_LEAK_CHECK
This commit is contained in:
commit
417d82b0a8
1 changed files with 3 additions and 0 deletions
|
|
@ -251,6 +251,9 @@ function defer-assertion-failures() {
|
|||
function basic_teardown() {
|
||||
echo "# [teardown]" >&2
|
||||
|
||||
PODMAN_CMD=("${PODMAN}")
|
||||
add_podman_args PODMAN_CMD
|
||||
|
||||
# Free any ports reserved by our test
|
||||
if [[ -d $PORT_LOCK_DIR ]]; then
|
||||
mylocks=$(grep -wlr $BATS_SUITE_TEST_NUMBER $PORT_LOCK_DIR || true)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue