bstinson / centos / t_functional

Forked from centos/t_functional 4 years ago
Clone

Blame tests/p_centos-release/centos-release_issue.sh

Athmane Madjoudj 5827ae
#!/bin/sh
Athmane Madjoudj 5827ae
# Author: Athmane Madjoudj <athmanem@gmail.com>
Athmane Madjoudj 5827ae
Karanbir Singh 106bcf
t_Log "Running $0 - /etc/issue* has correct branding"
87807f
if [ "$centos_ver" = "7" ] ; then
87807f
  t_Log "CentOS $centos_ver -> SKIP"
87807f
  exit 0
87807f
else
87807f
  (grep "CentOS" /etc/issue >/dev/null 2>&1) && \
87807f
  (grep "CentOS" /etc/issue.net >/dev/null 2>&1) 
87807f
  t_CheckExitStatus $?
87807f
fi