Don't allow package downgrades on dnf install checks.
Since the state is shared as we are using the system instead of some fake dnf root, installing it will result in downgrading the installed version used for tests.
This commit is contained in:
parent
bdfc2237b6
commit
9e5e6bf5f0
2 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ PACKAGE=${PACKAGE:-}
|
|||
present=$(rpm -qa $PACKAGE)
|
||||
|
||||
# We assume dnf install privileges
|
||||
dnf install -y rubygem-aruba
|
||||
dnf install -y --no-allow-downgrade rubygem-aruba
|
||||
|
||||
after_install=$(rpm -qa $PACKAGE)
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ PACKAGE=${PACKAGE:-}
|
|||
present=$(rpm -qa $PACKAGE)
|
||||
|
||||
# We assume dnf install privileges
|
||||
dnf install -y rubygem-cucumber
|
||||
dnf install -y --no-allow-downgrade rubygem-cucumber
|
||||
|
||||
after_install=$(rpm -qa $PACKAGE)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue