From 0d9e680e678799f261496b15659c912cf547f482 Mon Sep 17 00:00:00 2001 From: Eike Starkmann Date: Wed, 31 Jul 2024 13:37:45 +0200 Subject: [PATCH] [FEATURE] Add switch for podman Related: #1312 --- Build/Scripts/runTests.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Build/Scripts/runTests.sh b/Build/Scripts/runTests.sh index 21ce5df..be10bcd 100755 --- a/Build/Scripts/runTests.sh +++ b/Build/Scripts/runTests.sh @@ -658,7 +658,11 @@ case ${TEST_SUITE} in echo "Invalid -s option argument ${TEST_SUITE}" >&2 echo >&2 echo "${HELP}" >&2 - ${CONTAINER_BIN} network remove ${NETWORK} >/dev/null + if [ ${CONTAINER_BIN} = "docker" ]; then + ${CONTAINER_BIN} network rm ${NETWORK} >/dev/null + else + ${CONTAINER_BIN} network rm -f ${NETWORK} >/dev/null + fi exit 1 ;; esac