diff --git a/test/cases/api.sh b/test/cases/api.sh index 072431a89..77f5dfb0b 100755 --- a/test/cases/api.sh +++ b/test/cases/api.sh @@ -529,6 +529,22 @@ fi export EXTRA_PAYLOAD_REPOS_BLOCK export EXTRA_PACKAGES_BLOCK +ENABLED_MODULES_BLOCK= +# Only test modularity on rhel 8 and 9 +if [[ ($ID == rhel || $ID == centos) && ${VERSION_ID%.*} -lt 10 ]]; then + ENABLED_MODULES_BLOCK=$(cat <