Resolves: rhbz#2219504 - Update tests

This commit is contained in:
Jitka Plesnikova 2023-07-27 14:16:23 +02:00
parent 5eb6c56a64
commit de3adb27ea
2 changed files with 11 additions and 1 deletions

9
tests/bz_2219504-check.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
OUTPUT=`rpm -qR perl-Parse-Yapp`
if ! echo "$OUTPUT" | grep -q "MODULE_COMPAT_"; then
exit 0
else
exit 1
fi

View File

@ -2,8 +2,9 @@ summary: Test for BZ 2219504
component: component:
- perl-Parse-Yapp - perl-Parse-Yapp
require: require:
- bash
- perl-Parse-Yapp - perl-Parse-Yapp
test: rpm -qR perl-Parse-Yapp | grep -v MODULE_COMPAT test: ./bz_2219504-check.sh
enabled: false enabled: false
adjust: adjust:
- when: distro == centos-stream-8 or distro == rhel-8 - when: distro == centos-stream-8 or distro == rhel-8