From 72b223c06465790fe09313dcb61339f3569a46ab Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Mon, 27 Feb 2023 15:36:52 +0200 Subject: [PATCH] Remove duplicate function and use the shared implementation --- tools/s3_test.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/tools/s3_test.sh b/tools/s3_test.sh index 68e406e0c..aa6bb9712 100755 --- a/tools/s3_test.sh +++ b/tools/s3_test.sh @@ -2,6 +2,7 @@ set -euo pipefail source /usr/libexec/osbuild-composer-test/set-env-variables.sh +source /usr/libexec/tests/osbuild-composer/shared_lib.sh TEST_ID=${1} S3_PROVIDER_CONFIG_FILE=${2} @@ -14,15 +15,6 @@ function greenprint { echo -e "\033[1;32m[$(date -Isecond)] ${1}\033[0m" } -function get_build_info() { - key="$1" - fname="$2" - if rpm -q --quiet weldr-client; then - key=".body${key}" - fi - jq -r "${key}" "${fname}" -} - TEMPDIR=$(mktemp -d) function cleanup() { sudo rm -rf "$TEMPDIR"