From 4f09de8fc3932c7f12ecacf2e4dc4800b50776e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zaoral?= Date: Fri, 17 May 2024 10:11:57 +0200 Subject: [PATCH] tests: replace `dnf` with `yum` for compatibility with EPEL 7 `yum` is still provided as a symlink to `dnf` even with `dnf5`. --- tests/simple_build/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/simple_build/test.sh b/tests/simple_build/test.sh index cef95c7..a35648e 100755 --- a/tests/simple_build/test.sh +++ b/tests/simple_build/test.sh @@ -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