From a44872cea650bc91f90bf93fbdf473429a4797f9 Mon Sep 17 00:00:00 2001 From: Pablo Greco Date: Jul 28 2019 19:12:49 +0000 Subject: Skip some yum tests in CentOS8 --- diff --git a/tests/p_yum/yum_bugtracker.sh b/tests/p_yum/yum_bugtracker.sh index 72a15a2..09ec68a 100755 --- a/tests/p_yum/yum_bugtracker.sh +++ b/tests/p_yum/yum_bugtracker.sh @@ -3,6 +3,10 @@ t_Log "Running $0 - Yum is using CentOS' bugtracker test." +if [ "$centos_ver" -ge "8" ] ; then + t_Log "CentOS$ver, SKIP" + exit 0 +fi grep "http://bugs.centos.org" /etc/yum.conf >/dev/null 2>&1 t_CheckExitStatus $? diff --git a/tests/p_yum/yum_distroverpkg.sh b/tests/p_yum/yum_distroverpkg.sh index 7fd0e4a..92cafc9 100755 --- a/tests/p_yum/yum_distroverpkg.sh +++ b/tests/p_yum/yum_distroverpkg.sh @@ -2,6 +2,10 @@ t_Log "Running $0 - Yum configuration has the correct distroverpkg value test." +if [ "$centos_ver" -ge "8" ] ; then + t_Log "CentOS$ver, SKIP" + exit 0 +fi #add centos-userland-release for armhfp uname_arch=$(uname -m) if [ "$uname_arch" == "armv7l" ]; then