You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
QA/tests/p_centos-release/centos-release_issue.sh

13 lines
324 B

#!/bin/sh
# Author: Athmane Madjoudj <athmanem@gmail.com>
t_Log "Running $0 - /etc/issue* has correct branding"
if [ "$centos_ver" -ge 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