bstinson / centos / t_functional

Forked from centos/t_functional 3 years ago
Clone
Blob Blame History Raw
#!/bin/sh
# Author: Athmane Madjoudj <athmanem@gmail.com>

t_Log "Running $0 - /etc/centos-release has correct branding"
if (t_GetPkgRel basesystem | grep -q el6)
then
    grep "CentOS" /etc/centos-release >/dev/null 2>&1
else
    grep "CentOS" /etc/redhat-release >/dev/null 2>&1
fi
t_CheckExitStatus $?