From e8fb78f0bc9dfa05630b0901480795a33c022691 Mon Sep 17 00:00:00 2001 From: Richard Lescak Date: Mon, 3 Apr 2023 14:53:47 +0200 Subject: [PATCH] test modified to not check for x-11 subpackage when testing fedora 38+ --- Smoke/ghostscript-x11/runtest.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Smoke/ghostscript-x11/runtest.sh b/Smoke/ghostscript-x11/runtest.sh index 82b1cb2..3528a19 100755 --- a/Smoke/ghostscript-x11/runtest.sh +++ b/Smoke/ghostscript-x11/runtest.sh @@ -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