From 20a4c0c5b5bf073049f23cb1c389e20255f1d022 Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: May 19 2014 12:18:08 +0000 Subject: Fixed the anaconda test to search at the correct location for el7 --- diff --git a/tests/p_anaconda/anaconda_centos_patch.sh b/tests/p_anaconda/anaconda_centos_patch.sh index 338878f..06dc6c5 100755 --- a/tests/p_anaconda/anaconda_centos_patch.sh +++ b/tests/p_anaconda/anaconda_centos_patch.sh @@ -3,7 +3,11 @@ t_Log "Running $0 - CentOS Anaconda patch is applied test." -ANACONDA_PATH=/usr/lib/anaconda/ +if [ "$centos_ver" = "7" ];then + ANACONDA_PATH=/usr/lib64/python2.7/site-packages/pyanaconda/ +else + ANACONDA_PATH=/usr/lib/anaconda/ +fi (grep "id = \"centos\"" $ANACONDA_PATH/installclasses/rhel.py >/dev/null 2>&1) &&\