diff --git a/tests/bz_2219504-check.sh b/tests/bz_2219504-check.sh new file mode 100755 index 0000000..22b8667 --- /dev/null +++ b/tests/bz_2219504-check.sh @@ -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 diff --git a/tests/bz_2219504.fmf b/tests/bz_2219504.fmf index 59c26bf..1ce13e0 100644 --- a/tests/bz_2219504.fmf +++ b/tests/bz_2219504.fmf @@ -2,8 +2,9 @@ summary: Test for BZ 2219504 component: - perl-Parse-Yapp require: + - bash - perl-Parse-Yapp -test: rpm -qR perl-Parse-Yapp | grep -v MODULE_COMPAT +test: ./bz_2219504-check.sh enabled: false adjust: - when: distro == centos-stream-8 or distro == rhel-8