From 8b6372cdb8660c07408bf802685c259a0765642c Mon Sep 17 00:00:00 2001 From: clime Date: Feb 18 2018 14:06:04 +0000 Subject: [sanity-tests] setup fixes --- diff --git a/beaker-tests/Install/Config-copr-cli/runtest.sh b/beaker-tests/Install/Config-copr-cli/runtest.sh index 5f49673..4b9c0a2 100755 --- a/beaker-tests/Install/Config-copr-cli/runtest.sh +++ b/beaker-tests/Install/Config-copr-cli/runtest.sh @@ -43,8 +43,8 @@ rlJournalStart mkdir -p ~/.config || : cp ./config ~/.config/copr rlRun "dnf config-manager --set-enabled fedora --save" - rlRun "dnf install -y python-copr copr-cli" - rlRun "dnf upgrade python-copr copr-cli" + rlRun "dnf install -y python3-copr copr-cli" + rlRun "dnf upgrade python3-copr copr-cli" rlLog "Installing repo for DNF with modularity support." rlLog "It is disabled though" diff --git a/beaker-tests/Sanity/copr-cli-basic-operations/runtest.sh b/beaker-tests/Sanity/copr-cli-basic-operations/runtest.sh index bd535cb..0b68b79 100755 --- a/beaker-tests/Sanity/copr-cli-basic-operations/runtest.sh +++ b/beaker-tests/Sanity/copr-cli-basic-operations/runtest.sh @@ -46,7 +46,7 @@ echo "BACKEND_URL = $BACKEND_URL" # Some tests might want to install built packages # Therefore, these packages need to be built for the same fedora version # as this script is going to be run from -CHROOT="fedora-26-x86_64" +CHROOT="fedora-27-x86_64" SCRIPTPATH="$( builtin cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" @@ -64,9 +64,9 @@ rlJournalStart yum -y install dnf dnf-plugins-core # use the dev instance sed -i "s+http://copr.fedoraproject.org+$FRONTEND_URL+g" \ - /usr/lib/python3.4/site-packages/dnf-plugins/copr.py + /usr/lib/python3.6/site-packages/dnf-plugins/copr.py sed -i "s+https://copr.fedoraproject.org+$FRONTEND_URL+g" \ - /usr/lib/python3.4/site-packages/dnf-plugins/copr.py + /usr/lib/python3.6/site-packages/dnf-plugins/copr.py dnf -y install jq rlPhaseEnd