test modified to not check for x-11 subpackage when testing fedora 38+

This commit is contained in:
Richard Lescak 2023-04-03 14:53:47 +02:00
commit e8fb78f0bc

View file

@ -33,7 +33,10 @@ PACKAGE="ghostscript"
rlJournalStart
rlPhaseStartTest
rlRun "rpm -q rpm | grep el7 || rpm -q ghostscript-x11"
if rlIsFedora '<38'; then
# we have stopped packaging x-11 since f38/gs-10.01.0+
rlRun "rpm -q rpm | grep el7 || rpm -q ghostscript-x11"
fi
rlRun "xvfb-run timeout --preserve-status 10 gs -dBATCH -dNOPAUSE -sDEVICE=x11 dummy.pdf"
rlPhaseEnd