mirror of
https://github.com/containers/podman.git
synced 2026-02-05 15:45:08 +01:00
test: Fix PODMAN_BATS_LEAK_CHECK
This variable is set by hack/bats and it fails if PODMAN_CMD is unset. Signed-off-by: Ricardo Branco <rbranco@suse.de>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user