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_system_relea...

14 lines
295 B

#!/bin/sh
# Author: Athmane Madjoudj <athmanem@gmail.com>
t_Log "Running $0 - /etc/centos-release has correct branding"
if [ "$centos_ver" = "5" ] ; then
grep "CentOS" /etc/redhat-release >/dev/null 2>&1
else
grep "CentOS" /etc/centos-release >/dev/null 2>&1
fi
t_CheckExitStatus $?