Fix tests

This commit is contained in:
cytopia
2022-03-25 00:50:11 +01:00
parent e48ceef4a6
commit 389e0bad20
18 changed files with 50 additions and 32 deletions

View File

@@ -10,6 +10,7 @@ IMAGE="${1}"
ARCH="${2}"
VERSION="${3}"
FLAVOUR="${4}"
TAG="${5}"
# shellcheck disable=SC1090
. "${CWD}/../.lib.sh"
@@ -24,7 +25,7 @@ FLAVOUR="${4}"
### Ensuring 'apt update' works without any issues
###
print_h2 "Ensure 'apt update' works"
if ! name="$( docker_run "${IMAGE}:${VERSION}-${FLAVOUR}" "${ARCH}" "-e DEBUG_ENTRYPOINT=2" )"; then
if ! name="$( docker_run "${IMAGE}:${TAG}" "${ARCH}" "-e DEBUG_ENTRYPOINT=2" )"; then
exit 1
fi