bstinson / centos / t_functional

Forked from centos/t_functional 3 years ago
Clone

Blame tests/p_anaconda/anaconda_centos_patch.sh

Athmane Madjoudj a2faee
#!/bin/sh
Athmane Madjoudj a2faee
# Author: Athmane Madjoudj <athmanem@gmail.com>
Athmane Madjoudj a2faee
Athmane Madjoudj a2faee
t_Log "Running $0 - CentOS Anaconda patch is applied test."
Athmane Madjoudj a2faee
Athmane Madjoudj a2faee
ANACONDA_PATH=/usr/lib/anaconda/
Athmane Madjoudj a2faee
Athmane Madjoudj a2faee
(grep "id = \"centos\"" $ANACONDA_PATH/installclasses/rhel.py >/dev/null 2>&1) &&\
Athmane Madjoudj a2faee
Athmane Madjoudj 66dad5
(grep "name = N_(\"CentOS Linux\")" $ANACONDA_PATH/installclasses/rhel.py >/dev/null 2>&1) 
Athmane Madjoudj a2faee
Athmane Madjoudj a2faee
Athmane Madjoudj a2faee
t_CheckExitStatus $?