From 45417091cd10f8e3186059d1e4e0c3015a91f583 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Fri, 9 Jul 2021 11:56:09 +0200 Subject: [PATCH] test/api: don't source os-release again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ondřej Budai --- test/cases/api.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cases/api.sh b/test/cases/api.sh index 8bff053e5..56036e1d1 100755 --- a/test/cases/api.sh +++ b/test/cases/api.sh @@ -393,7 +393,7 @@ else TEST_ID=$(uuidgen); fi -case $(set +x; . /etc/os-release; echo "$ID-$VERSION_ID") in +case "$ID-$VERSION_ID" in "rhel-9.0") DISTRO="rhel-90" if [[ "$CLOUD_PROVIDER" == "$CLOUD_PROVIDER_AWS" ]]; then