From ecc3193880b56ad141c0bf7a7e5071824fab346d Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: Nov 10 2012 18:19:06 +0000 Subject: fixed yum-plugin-fastestmirror to work on C5 - the rpm has a different name on C5 --- diff --git a/tests/p_yum-plugin-fastestmirror/0_install_yum-plugin-fastestmirror.sh b/tests/p_yum-plugin-fastestmirror/0_install_yum-plugin-fastestmirror.sh index c5fde6e..ab1d949 100755 --- a/tests/p_yum-plugin-fastestmirror/0_install_yum-plugin-fastestmirror.sh +++ b/tests/p_yum-plugin-fastestmirror/0_install_yum-plugin-fastestmirror.sh @@ -2,9 +2,9 @@ t_Log "Running $0 - package should already be installed" -rpm -qa | grep yum-plugin-fastestmirror > /dev/null +rpm -qa | grep yum | grep -q fastestmirror t_CheckExitStatus $? t_Log "Running $0 - yum should have a hard Requires on yum-plugin-fastestmirror" -rpm -q --requires yum | grep yum-plugin-fastestmirror > /dev/null -t_CheckExitStatus $? \ No newline at end of file +rpm -q --requires yum | grep yum | grep -q fastestmirror +t_CheckExitStatus $?