diff --git a/tests/p_centos-release/centos-release_issue.sh b/tests/p_centos-release/centos-release_issue.sh index 90dea46..02c2ce3 100755 --- a/tests/p_centos-release/centos-release_issue.sh +++ b/tests/p_centos-release/centos-release_issue.sh @@ -2,8 +2,11 @@ # Author: Athmane Madjoudj t_Log "Running $0 - /etc/issue* has correct branding" - -(grep "CentOS" /etc/issue >/dev/null 2>&1) && \ -(grep "CentOS" /etc/issue.net >/dev/null 2>&1) - -t_CheckExitStatus $? +if [ "$centos_ver" = "7" ] ; then + t_Log "CentOS $centos_ver -> SKIP" + exit 0 +else + (grep "CentOS" /etc/issue >/dev/null 2>&1) && \ + (grep "CentOS" /etc/issue.net >/dev/null 2>&1) + t_CheckExitStatus $? +fi