diff --git a/test/cases/cross-distro.sh b/test/cases/cross-distro.sh index 11d2048e4..7a426788c 100755 --- a/test/cases/cross-distro.sh +++ b/test/cases/cross-distro.sh @@ -33,13 +33,9 @@ case $ID in centos) MAJOR=$(echo "$VERSION_ID" | sed -E 's/\..*//') case $MAJOR in - 8) - # CentOS 8 only supports building CentosOS 8 - PATTERN="\[|\]|centos-8" - ;; 9) - # CentOS 9 supports building CentosOS 8 and 9 - PATTERN="\[|\]|centos-(8|9)" + # CentOS 9 supports building CentosOS 9 + PATTERN="\[|\]|centos-(9)" ;; *) # CentOS 10 and later support building all releases