Skip to content

Commit

Permalink
tests: replace dnf with yum for compatibility with EPEL 7
Browse files Browse the repository at this point in the history
`yum` is still provided as a symlink to `dnf` even with `dnf5`.
  • Loading branch information
lzaoral committed May 17, 2024
1 parent 95f4bb3 commit 4f09de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/simple_build/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rlJournalStart
# than our development COPR repo. Therefore, we need to flip the
# priorities and update the packages manually.
rlRun "echo 'priority=1' >> /etc/yum.repos.d/group_codescan-csutils-*.repo"
rlRun "dnf upgrade -y 'cs*'"
rlRun "yum upgrade -y 'cs*'"
fi

if [ -z "$TEST_PACKAGE" ]; then
Expand Down

0 comments on commit 4f09de8

Please sign in to comment.