diff --git a/Sanity/ftp/runtest.sh b/Sanity/ftp/runtest.sh index bada565..f236329 100755 --- a/Sanity/ftp/runtest.sh +++ b/Sanity/ftp/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 FtpdConf="/etc/vsftpd/vsftpd.conf" FtpUrl="ftp://localhost/pub/wget/" @@ -40,7 +43,7 @@ FileCount="7" rlJournalStart # set up rlPhaseStartSetup - rlAssertRpm $PACKAGE + rlAssertRpm $PACKAGES rlRun "TmpDir=\`mktemp -d\`" 0 "Creating tmp directory" if rlIsRHEL '<=7.3'; then #booblean was removed since RHEL 7.3