diff --git a/Sanity/recursion/runtest.sh b/Sanity/recursion/runtest.sh index 8c778c7..b64db93 100755 --- a/Sanity/recursion/runtest.sh +++ b/Sanity/recursion/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 WwwRoot="/var/www/html" WwwUrl="http://localhost/wget/" @@ -54,7 +57,7 @@ dirLevel() { rlJournalStart # set up rlPhaseStartSetup - rlAssertRpm $PACKAGE + rlAssertRpm $PACKAGES rlRun "TmpDir=\`mktemp -d\`" 0 "Creating tmp directory" if rlIsRHEL '>=8' || rlIsFedora || rlIsCentOS; then # This annonymous login is NO by default in rhel8, but we need it