Blame tests/p_centos-release/centos-release_system_release.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/centos-release has correct branding"
6747bd
6747bd
if [ "$centos_ver" = "5" ] ; then
Athmane Madjoudj 66dad5
    grep "CentOS" /etc/redhat-release >/dev/null 2>&1
6747bd
else
6747bd
    grep "CentOS" /etc/centos-release >/dev/null 2>&1
Athmane Madjoudj 66dad5
fi
6747bd
Athmane Madjoudj 5827ae
t_CheckExitStatus $?
6747bd