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

Athmane Madjoudj 5827ae
#!/bin/sh
Athmane Madjoudj 5827ae
# Author: Athmane Madjoudj <athmanem@gmail.com>
Athmane Madjoudj 5827ae
Athmane Madjoudj 5827ae
t_Log "Running $0 - /etc/centos-release compatibility symbolic links test."
Athmane Madjoudj 5827ae
Athmane Madjoudj 5827ae
grep "CentOS" /etc/centos-release >/dev/null 2>&1
Athmane Madjoudj 5827ae
(file /etc/redhat-release | grep "symbolic link to .centos-release."  >/dev/null 2>&1) &&\
Athmane Madjoudj 5827ae
(file /etc/system-release | grep "symbolic link to .centos-release."  >/dev/null 2>&1)
Athmane Madjoudj 5827ae
Athmane Madjoudj 5827ae
t_CheckExitStatus $?