Fix of upstream test

This commit is contained in:
František Hrdina 2024-06-13 14:11:23 +02:00
commit 8c9beedaec
2 changed files with 6 additions and 1 deletions

View file

@ -33,6 +33,9 @@ adjust:
- enabled: false
when: distro < rhel-6
continue: false
- enabled: false
when: distro == centos-stream
continue: false
extra-nitrate: TC#0387907
extra-summary: /CoreOS/json-c/Sanity/bz966964-json-c-upstream-tests
extra-task: /CoreOS/json-c/Sanity/bz966964-json-c-upstream-tests

View file

@ -33,7 +33,9 @@ PACKAGE="json-c"
rlJournalStart
rlPhaseStartSetup
rlAssertRpm $PACKAGE
rlAssertRequired
rlIsRHELLike && rlRun "dnf install -y $(rlGetRecommended) --enablerepo=rhel-CRB --enablerepo=rhel-buildroot"
rlCheckDependencies
rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory"
rlRun "pushd $TmpDir"
rlFetchSrcForInstalled $PACKAGE