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
Athmane Madjoudj 5827ae
t_Log "Running $0 - /etc/issue* has correct info test."
Athmane Madjoudj 5827ae
Athmane Madjoudj 5827ae
(grep "CentOS" /etc/issue >/dev/null 2>&1) && \
Athmane Madjoudj 5827ae
(grep "CentOS" /etc/issue.net >/dev/null 2>&1) 
Athmane Madjoudj 5827ae
Athmane Madjoudj 5827ae
t_CheckExitStatus $?