tests: Fix minor issue in the config yaml file testing (#20005)

Convert x86_64 to amd64 in the test script to correctly download mc binary.
This commit is contained in:
Anis Eleuch
2024-06-28 10:06:49 +01:00
committed by GitHub
parent 7ca4ba77c4
commit aebac90013
3 changed files with 113 additions and 0 deletions

View File

@@ -22,6 +22,12 @@ export MINIO_CI_CD=1
if [ ! -f ./mc ]; then
os="$(uname -s)"
arch="$(uname -m)"
case "${arch}" in
"x86_64")
arch="amd64"
;;
esac
wget -O mc https://dl.minio.io/client/mc/release/${os,,}-${arch,,}/mc &&
chmod +x mc
fi