Skip to content

Commit

Permalink
rpminspect tests: exclude metadata check, check distro
Browse files Browse the repository at this point in the history
  • Loading branch information
lbarcziova committed May 22, 2023
1 parent 1479597 commit ab93f1b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions plans/rpminspect.centos.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ discover:
how: shell
tests:
- name: rpminspect SRPM
test: rpminspect-centos -v -t VERIFY --profile=centos-stream-9-devel /tmp/*.src.rpm
test: rpminspect-centos -E metadata -v -t VERIFY --profile=centos-stream-9-devel /tmp/*.src.rpm
- name: rpminspect binary RPMs
test: for rpm in /var/share/test-artifacts/*.rpm; do rpminspect-centos -v -t VERIFY --profile=centos-stream-9-devel $rpm; done
test: for rpm in /var/share/test-artifacts/*.rpm; do rpminspect-centos -E metadata -v -t VERIFY --profile=centos-stream-9-devel $rpm; done
prepare:
- name: packages
how: install
Expand All @@ -17,3 +17,6 @@ prepare:
script: cd /tmp && curl -O ${PACKIT_SRPM_URL}
execute:
how: tmt
adjust:
enabled: false
when: distro == fedora
7 changes: 5 additions & 2 deletions plans/rpminspect.fedora.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ discover:
how: shell
tests:
- name: rpminspect
test: rpminspect-fedora /tmp/*.src.rpm
test: rpminspect-fedora -E metadata /tmp/*.src.rpm
- name: rpminspect binary RPMs
test: for rpm in /var/share/test-artifacts/*.rpm; do rpminspect-fedora $rpm; done
test: for rpm in /var/share/test-artifacts/*.rpm; do rpminspect-fedora -E metadata $rpm; done
prepare:
- name: packages
how: install
Expand All @@ -17,3 +17,6 @@ prepare:
script: cd /tmp && curl -O ${PACKIT_SRPM_URL}
execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream-9

0 comments on commit ab93f1b

Please sign in to comment.