The test suite we use to indicate functional acceptance of a machine instance
Pablo Greco
2018-11-26 15c0d3d61597dea12e15c2695e34b48fb3c22abe
Fix fastestmirror check for armhfp
1 files modified
6 ■■■■ changed files
tests/p_yum-plugin-fastestmirror/10-fastestmirror.sh 6 ●●●● patch | view | raw | blame | history
tests/p_yum-plugin-fastestmirror/10-fastestmirror.sh
@@ -23,7 +23,11 @@
if [ $centos_ver == 5 ]; then 
    BaseDir=/var/cache/yum/
else
    BaseDir=/var/cache/yum/`uname -i`/$centos_ver
    BaseArch=`uname -i`
    if [ "$BaseArch" == "armv7l" ];then
        BaseArch="armhfp"
    fi
    BaseDir=/var/cache/yum/$BaseArch/$centos_ver
fi
t_Log "Running $0 - Ensure we have mirrorlist enabled."