From d4c5a1a772dec37eba386a1fed3caaace78bcb86 Mon Sep 17 00:00:00 2001 From: PruStephan Date: Wed, 25 Oct 2023 00:33:59 +0200 Subject: [PATCH] Fix bug in tests Problem: '-rm' instead of '--rm' in docker command causes test script to fail Solution: Fix script --- docker/tests/scripts/test-fedora-binaries.sh | 4 ++-- docker/tests/scripts/test-ubuntu-binaries.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/tests/scripts/test-fedora-binaries.sh b/docker/tests/scripts/test-fedora-binaries.sh index 6b1143bdd..f10dd2c1d 100755 --- a/docker/tests/scripts/test-fedora-binaries.sh +++ b/docker/tests/scripts/test-fedora-binaries.sh @@ -7,7 +7,7 @@ set -euo pipefail for version in $(jq -r '.fedora[]' docker/supported_versions.json); do docker build --build-arg dist="$version" --build-arg repo="Tezos" -t fedora-test -f docker/tests/Dockerfile-fedora-test . - docker run -rm fedora-test + docker run --rm fedora-test docker build --build-arg dist="$version" --build-arg repo="Tezos-rc" -t fedora-test -f docker/tests/Dockerfile-fedora-test . - docker run -rm fedora-test + docker run --rm fedora-test done diff --git a/docker/tests/scripts/test-ubuntu-binaries.sh b/docker/tests/scripts/test-ubuntu-binaries.sh index e66d55509..a761c925c 100755 --- a/docker/tests/scripts/test-ubuntu-binaries.sh +++ b/docker/tests/scripts/test-ubuntu-binaries.sh @@ -7,7 +7,7 @@ set -euo pipefail for version in $(jq -r '.ubuntu[]' docker/supported_versions.json); do docker build --build-arg dist="$version" --build-arg repo="tezos" -t ubuntu-test -f docker/tests/Dockerfile-ubuntu-test . - docker run -rm ubuntu-test + docker run --rm ubuntu-test docker build --build-arg dist="$version" --build-arg repo="tezos-rc" -t ubuntu-test -f docker/tests/Dockerfile-ubuntu-test . - docker run -rm ubuntu-test + docker run --rm ubuntu-test done