From dc8056ec473541c5ad31741beac523ef287c3932 Mon Sep 17 00:00:00 2001 From: Ondrej Mejzlik Date: Mon, 25 Mar 2024 14:30:50 +0100 Subject: [PATCH] adapt to wget2 --- Sanity/authentication/runtest.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Sanity/authentication/runtest.sh b/Sanity/authentication/runtest.sh index 232c8bc..5b2ef38 100755 --- a/Sanity/authentication/runtest.sh +++ b/Sanity/authentication/runtest.sh @@ -29,7 +29,10 @@ # Include rhts environment . /usr/share/beakerlib/beakerlib.sh || exit 1 -PACKAGE="wget" +PACKAGES='wget' +if rlIsFedora '>= 40'; then + PACKAGES="wget2" +fi WwwUrl="http://localhost/wget/" WwwDir="/var/www/html/wget" @@ -41,7 +44,7 @@ FtpdConf="/etc/vsftpd/vsftpd.conf" rlJournalStart # set up rlPhaseStartSetup - rlAssertRpm $PACKAGE + rlAssertRpm $PACKAGES rlAssertRpm "httpd" rlAssertRpm "vsftpd" rlShowPackageVersion "httpd" "vsftpd"