From dba34b4f537a1e39656cec3cef0e75bd8b09e874 Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: Jun 30 2013 09:41:23 +0000 Subject: improved wording of logtext when testing fastestmirror-plugin --- diff --git a/tests/p_yum-plugin-fastestmirror/10-fastestmirror.sh b/tests/p_yum-plugin-fastestmirror/10-fastestmirror.sh index b8adbb1..c47166a 100755 --- a/tests/p_yum-plugin-fastestmirror/10-fastestmirror.sh +++ b/tests/p_yum-plugin-fastestmirror/10-fastestmirror.sh @@ -17,7 +17,7 @@ t_Log "Running $0 - Ensure we have mirrorlist enabled." egrep '^mirrorlist' /etc/yum.repos.d/*.repo > /dev/null t_CheckExitStatus $? -t_Log "Running $0 - is y-p-fastestmirror can get hosts" +t_Log "Running $0 - y-p-fastestmirror can get hosts from mirrorlist" find $BaseDir -type f -name timedhosts.txt -exec rm -f {} \; yum -d0 list kernel > /dev/null @@ -35,7 +35,4 @@ else fi t_CheckExitStatus $retval -t_Log "Running $0 - is y-p-fastestmirror can get" - -hostsfound=$( wc -l ${BaseDir}/timedhosts.txt ) - +t_Log "Running $0 - number of hosts y-p-fastestmirror can get: $( wc -l ${BaseDir}/timedhosts.txt )"