mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-24 20:36:12 +01:00

[FEATURE] Add switch for podman

Related: #1312
This commit is contained in:
Eike Starkmann 2024-07-31 13:37:45 +02:00 committed by Oliver Klee
parent a89f94b5d3
commit 0d9e680e67

View file

@ -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