From 5dc19500adbec22bef8abd8221717490b525e90d Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Thu, 13 Dec 2018 16:06:37 +0200 Subject: [PATCH] On RHEL 7 we have yum instead of dnf --- tests/cli/test_build_and_deploy_aws.sh | 2 +- tests/cli/test_build_and_deploy_azure.sh | 2 +- tests/cli/test_build_and_deploy_openstack.sh | 2 +- tests/cli/test_build_and_deploy_vmware.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/cli/test_build_and_deploy_aws.sh b/tests/cli/test_build_and_deploy_aws.sh index 7cb74071..cbbc4c62 100755 --- a/tests/cli/test_build_and_deploy_aws.sh +++ b/tests/cli/test_build_and_deploy_aws.sh @@ -33,7 +33,7 @@ rlJournalStart rlLogInfo "AWS_REGION=$AWS_REGION" if ! rlCheckRpm "python3-pip"; then - rlRun -t -c "dnf -y install python3-pip" + rlRun -t -c "yum -y install python3-pip" rlAssertRpm python3-pip fi diff --git a/tests/cli/test_build_and_deploy_azure.sh b/tests/cli/test_build_and_deploy_azure.sh index d7b40c5a..dac00ecc 100755 --- a/tests/cli/test_build_and_deploy_azure.sh +++ b/tests/cli/test_build_and_deploy_azure.sh @@ -48,7 +48,7 @@ rlJournalStart rlLogInfo "AZURE_STORAGE_CONTAINER=$AZURE_STORAGE_CONTAINER" if ! rlCheckRpm "python3-pip"; then - rlRun -t -c "dnf -y install python3-pip" + rlRun -t -c "yum -y install python3-pip" rlAssertRpm python3-pip fi diff --git a/tests/cli/test_build_and_deploy_openstack.sh b/tests/cli/test_build_and_deploy_openstack.sh index bc424ec3..79a669b4 100755 --- a/tests/cli/test_build_and_deploy_openstack.sh +++ b/tests/cli/test_build_and_deploy_openstack.sh @@ -36,7 +36,7 @@ rlJournalStart fi if ! rlCheckRpm "python3-pip"; then - rlRun -t -c "dnf -y install python3-pip" + rlRun -t -c "yum -y install python3-pip" rlAssertRpm python3-pip fi diff --git a/tests/cli/test_build_and_deploy_vmware.sh b/tests/cli/test_build_and_deploy_vmware.sh index aaab9b55..b069a81b 100755 --- a/tests/cli/test_build_and_deploy_vmware.sh +++ b/tests/cli/test_build_and_deploy_vmware.sh @@ -48,7 +48,7 @@ rlJournalStart rlLogInfo "V_FOLDER=$V_FOLDER" if ! rlCheckRpm "python3-pip"; then - rlRun -t -c "dnf -y install python3-pip" + rlRun -t -c "yum -y install python3-pip" rlAssertRpm python3-pip fi